Monthly Archives: April 2010

What is the Max amount of information that can be saved in a Session Object?


As such there is no limit on the amount of information that can be saved in a Session Object. Only the RAM available on the server machine is the limitation. The only limit is the Session ID length(Identifier) , which should

Posted in Servlet

What are Good Ways of Debugging a Servlet? Are IDE’s which support Servlet Debugging?


There are couple of Methods. Firstly servers like JRun and others provide separate logs where all your Print requests will print their data into. For example requests to System.out. and System.err go to different log files. If this features is

Posted in Servlet

What is Server Side Push and how is it implemented and when is it useful?


Server Side push is useful when data needs to change regularly on the clients application or browser , without intervention from client. Standard examples might include apps like Stock’s Tracker, Current News etc. As such server cannot connect to client’s

Posted in JSP

What is difference between stateless and stateful session beans?


Stateless: 1) Stateless session bean maintains across method and transction 2) The EJB server transparently reuses instances of the Bean to service different clients at the per-method level (access to the session bean is serialized and is 1 client per

Tagged with:
Posted in JSP

What are the difference between interface and abstract class?


The key difference between an interface and the corresponding abstract class is that a class or interface can have unlimited number of immediate super interface but it can only have one super class. There are two primary axes of “inheritance”

Tagged with:
Posted in JAVA

What is the difference between callable statements, prepare statements , createstatements?


callable statements: callable statements are used to retrieve the stored procedures from the database. ie., these statements are used when two or more sql statements are retrived over and over. prepare statement: theser are precompiled statements which are stored in

Posted in JDBC

Can the same object os Stateless Session bean be shared by multiple clients? Can the same object os Stateful Session bean be shared by multiple clients?


It is possible to share the same object of stateless session bean by multiple clients. A Server maintains a pool of objects in case of stateless session bean. And every When ever we send a request to the JSP file

Posted in Servlet

Can we declare final method in abstract class?


If a method is defined as final then we can’t provide the reimplementation for that final method in it’s derived classes i.e overriding is not possible for that method. An abstract class contains one or mole abstract method. If all

Tagged with:
Posted in JAVA

Isolation levels & Transaction levels?


The isolation level measures concurrent transaction’s capacity to view data that have been updated, but not yet committed, by another transaction if other transactions were allowed to read data that are as yet uncommitted, those transactions could end up with

Tagged with:
Posted in JAVA

About “Map” data structures in Collections framework?


A map cannot contain duplicate keys; each key can map to at most one value. The Map interface provides three collection views, which allow a map’s contents to be viewed as a set of keys, collection of values, or set

Tagged with:
Posted in JAVA

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 679 other followers

Calendar
April 2010
M T W T F S S
« Jul   May »
 1234
567891011
12131415161718
19202122232425
2627282930  
Mallikarjun Gunda

This is Mallikarjun Gunda, I am working as a software professional. Blogging is my Passion. This blog contains the posts on Java related technologies and programming languages. I am happy to share my knowledge through the blogs.

Blog Stats
  • 321,748 hits
IndiBlogger
malliktalksjava.wordpress.c...
70/100