Latest Answer: design patterns codify and provide developers with a way to recognize common useful techniques.with design patterns , it's important to understand the types of situation that each pattern addresses.A design pattern is a design solution to a software ...
Latest Answer: Hi All,The stateless bean is used whereever the logic does the same for all client irrespective of remembering the client state.For Example, Consider a simple EJB Client which just converts dollar to ruppee value. So as per logic, it does not matter who ...
Answered by Jey on 2005-05-08 19:41:22: Session bean callback methods differ whether it is Stateless or stateful Session bean. Here they are. Stateless Session Bean 1. setSessionContext() 2.
Latest Answer: Please note down that ejbCreate() is not a method of Session Bean, for reference see the link http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/ejb/SessionBean . html ...
Answer posted by Mohan on 2005-05-20 08:44:39: SessionBeans typically are used to represent a client they are of two typse Stateful Session Beans : they maintain conversational state between
Latest Answer: Session bean is encapsulates the business logic. and carry out the task for behalf of the client. It have two types.one is stateful session bean. this is maintain the convesional state.another one is stateless session bean. donot maintain the conversional.state. ...
Latest Answer: An EJB object is also an java object, but as it follows the EJB Specifications, it can be remotely identified in an Application server. An java object can be deployed in an application server, but cannot be idetified. i.e A java object can be in the classpath ...
Latest Answer: You can use two methods like insertRow() and deleteRow() of ejbCreate() for insert and delete the data from the data base in entity Bean. ...
Answer posted by Mohan on 2005-05-21 19:27:35: No
Latest Answer: We must have a ejbCreate(); to create a Session bean . ...
Latest Answer: I would say that the main reason is because there is a clear division of roles and responsibilities between the home and remote interfaces of an EJB. The home interface allows the client to communicate with the container which is responsible for creating, ...
Latest Answer: Here also we can write a complex query(complex select and find method) in our containen managed entity bean. ...
Answer posted by Mohan on 2005-05-21 19:26:48: No
Latest Answer: Hi,We can call Runtime.gc() explicitly as you (all) described. But some time "May be usefull". Otherwise "No Use". When ?. Note that If we call garbage collection explicitly, this "WILL NOT GARBAGE COLLECT ANY ONE EJB OBJECT or TYPE of EJB bean object" ...
View page << Previous 6 7 8 9 [10] 11 12 13 14 15 Next >>

Go Top