GeekInterview.com
Series: Subject: Topic:

J2EE FAQ

Showing Questions 1 - 20 of 236 Questions
First | Prev | | Next | Last Page
Sort by: 
 | 

What is the full form of j2ee?

Asked By: santosh Sharma | Asked On: Apr 26th, 2007

Answered by: MOHAMMAD on: Dec 27th, 2012

Java 2 Enterprise Edition

Answered by: Tino M Thomas on: Oct 17th, 2011

Code
  1. import java.io.*;
  2. import java.util.*;
  3. public class Hello
  4. {
  5. public static void main(String args[])
  6. {
  7. System.out.println("!@#$%^&*");
  8. }

Restrict webpages in iframe to redirect

Asked By: RATNAPRABHA | Asked On: Nov 23rd, 2012

Is there any way to restrict webpages loaded in iframe to redirect to other website out of iframe?

Difference between include directive and script tag while including Java scripts file in JSP.

Asked By: anushree_123 | Asked On: Jun 6th, 2012

I was trying to use Javascript file for validations of the fields and buttons in my JSP page. but found that the following worked: and not: i wanted to know the reason? thanks in advance!!

Problem with jsf / spring security 2.5

Asked By: osgeek | Asked On: May 30th, 2012

Hello, first I would say sorry I dont speak english very well... i use the spring framework 2.5 to apply the security rules for hand interception on the page in my application j2ee, I want that the page is only accessible when the user is connected. the problem is that when I do: the page still accessible...

Design pattern

Asked By: pragya03 | Asked On: Sep 29th, 2010

What design pattern are available for j2ee?

Answered by: Ramakrishna on: May 19th, 2012

Singleton Design Pattern,Factory,DAO,MVC ,Prototype ..

Log4j

Asked By: anupamaj | Asked On: Aug 19th, 2010

How would we use log4j in our applications? Is it necessary to use log4j applications in our web application?

Answered by: nabi_alam on: Mar 30th, 2012

To implement log4j in the web application there are different way. 1.we have to write a common logger class. 2.we have to configure corresponding class in web.xml and 3. we have to configure the prop...

Singleton design pattern in multiple JVM

Asked By: usmita | Asked On: Aug 14th, 2009

How can we implement singleton design pattern in multiple JVM environment? How we will make sure to be an object in multiple JVM?

Answered by: tester on: Mar 29th, 2012

You cannot do that.

What is the usage of abstract method?

Asked By: karthikkannan1988 | Asked On: Jan 27th, 2012

Answered by: Lokesh M on: Feb 10th, 2012

Abstract classes used to implement polymorphism. Abstract class allows additional method declaration in the class.

Please read detailed discussion here http://www.geekinterview.com/question_details/19145

What is the difference between hash map and hash table?

Asked By: prakash | Asked On: Sep 26th, 2005

Answered by: swatinanu on: Aug 8th, 2011

Hash map is basically a collection API which is used to save data in sorted order avoiding duplicates. where hash table herits Object class. Hashtable is synchronized, whereas HashMap is not. This m...

Answered by: Abid on: Jul 13th, 2011

The HashMap class is roughly equivalent to Hashtable, except that it is unsynchronized and permits nulls. (HashMap allows null values as key and value whereas Hashtable does not allow). HashMa...

Is servlet is thread-safe?

Asked By: suresh | Asked On: Mar 1st, 2006

Answered by: PriyankN on: Mar 27th, 2011

Servlet is not thread safe, but that is because of the class/instance variables. So care must be taken to provide synchronized access to class/instance variables. Synchronizing entire service or doGet/doPost methods is bad and should be avoided.

Answered by: Neha on: Nov 18th, 2007

servlet is not thread safe by itself but u can make it thread safe by synchronizing the particular line's of service method.

Myeclipse richfaces

Asked By: Uma Maheswari Muthu | Asked On: Feb 4th, 2011

How to configure richfaces in myeclipse 8.5?

Weakhashmap

Asked By: Vinod G S | Asked On: Dec 22nd, 2010

Explain how a weakhashmap works?

Servlet intialization parameter

Asked By: akash_butani | Asked On: Dec 5th, 2010

How we can define servlet initalization parameter?

Java bean

Asked By: Ananda_Nayek | Asked On: Nov 10th, 2010

What are the properties of a Java bean?

Load j2me application into mobile

Asked By: sandeepreddy.putta | Asked On: Aug 2nd, 2010

How can we load j2me application into mobile?

Tld file

Asked By: deepikaanand | Asked On: Jun 26th, 2010

How to make a tld file in eclipse?

Can I call Java swing in JSP or servlet without using applet?(eg- suppose I make a frame and I want to popup this frame when I click the button in JSP or servlet). Please tell me.

Asked By: Raviranjan Kumar Sinha | Asked On: Jun 28th, 2006

Answered by: riteshsc23 on: Jun 16th, 2010

No, you cannot call Java swing in JSP or Servlet without using Applet.

Answered by: gadadhar dalei on: Jul 10th, 2006

how can i convert the jsp file into html file? 

Count class objects

Asked By: ajkush | Asked On: Apr 24th, 2010

How to count objects of a class ?

Throw & throws clause

Asked By: srinivasmallabathula | Asked On: Apr 6th, 2010

Why do we call 'throw' and 'throws' as clauses?

Cookies size

Asked By: xer_mano | Asked On: Mar 9th, 2010

What is the maximum data size cookies can hold ?

First | Prev | | Next | Last Page

 

 

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.