The most visible difference between message-driven beans and session andentity beans is that clients do not access message-driven beans through interfaces.A message-driven bean is an enterprise bean t...
The multiple JVM feature allows multiple independent Java applications to execute in a deterministic, time-sliced schedule with full memory protection. Within its bounded execution interval and memory...
Struts and Hibernate both are open source frameworks. Struts used for Presentation and Hybernate used for Data Access Layer. Hibernate is a object relation mapping tool.
This is depends on your programing techif u go in this styleString hostSMTP = "";String to = "";String from ="";String subject = " ";StringBuffer body = new StringBuffer(); /* Construct...
There is no way to know that the client is new or old since by defintion stateless session bean is meant to be stateless. The only way to know is when the information is passed from the remote reference
I don't think we will ever do x = new HttpservletRequest(); Which is really creating an object.We just use a reference variable of type HttpServletRequest and Response.
web servers are only the server to deploy web applications which are not having complexity in business logic.they don't need middleware services.generally servlet,jsp programs for representation purpo...
Pointers allow direct access to memory to users.So wrong acess may result in accessing invalid memory and also probably system memory and there by corrupting memory.But JVM doesnt allow User access to any systems resources.So JVM is better.
Hi,The following code will help u to send a mail String strHostName="mail.smtp.host"; Properties props = System.getProperties(); props.put(strHostNam...
Ans