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
in jsp-model 1 while developing applicaitons in j sp model 1 archtecture the seperation of roles becomes a tedious issue and code is difficult to maintain like , the jsp developer has to wait for the ...
In model1 there is no separation between the businesslogic and presentation logic, and so we can't reuse the view component.but in model 2 there is a separation between businesslogic and presentation logic and so we can easily reuse the view component.
Presentation's responsibilities are display information to users and interpret commands from use into action upon domain and data source.buinesslogic's responsibilities are logic upon domain.
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...
No u cannot rename web.xml file as it is given by sun people as a mandatory.because different people give different names to xml files ,then container doesnot know where to search particular xml entries when we invoke method on objects.
Guest
Feb 27th, 2006
no we can not rename web.xml file it's a specification of j2ee.thanks ranjeet
when client gives req to a servlet response.sendredirect() method partially delegates the control to another servlet or jsp by giving request to that,and recieves the response from that servlet.then o...
The difference b/w response.sendRedirect and forward is that, the request is send back to the browser and request is taken back from the browser when user submits. While forward forwards the response to another servlet with request and reponse object with it.
serialization is nothing but writing the data of particular object to a physical disk file .the importance of serialization have importance in distributed applicationslike rmi,ejb.in distributed or re...
Purpose is to write the state of an object onto the stream.Used in distributed apps when we send an object to a remote location through network i.e. in RMI
Ans