how can we decide a session bean as stateless or stateful
without seeing jar file? i.e. by seeing the class file.
Answer Posted / vishal chougule
If u just want by looking at class file then pre condition is that u have some parameters to create method.. meaning if u have bean class file with ejbCreate with paramaters then it is for sure stateful else it can be stateful or stateless.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Can beans who are involved in transaction have 'passivation' process?
What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations?
What is the difference between ejbcreate() and ejbpostcreate?
What is stateful session bean?
What is rmi and ejb in java?
What is ejb home object?
Why is ftp stateful?
What does it mean to be stateless?
What optimization could I use if the ejb container is the only point of write access to the database?
What are the callback annotations for the stateless bean?
List down the steps for the demonstration of ejp persistence mechanism.
What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations? When would I use one over the other?
What is the use of @resource?
Does spring use ejb?
in EJB diclare the static methods are not?