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


Please Help Members By Posting Answers For Below Questions

What is EJB server?

594


Is microservice stateless?

490


What is stateless ejb?

525


Is udp stateless?

571


Differentiate ‘Stateful Session’ from ‘Entity Bean’ ?

533






Is having static initializer blocks legal in ejb?

543


What do you mean by abstract schema?

558


What is an ejb platform?

557


Is functional programming stateless?

521


What is EJB object?

582


What is ejb in spring?

441


Name the acid properties of a transaction.

541


Enlist the CallBack methods of Entity Bean.

581


Define ripple effect?

644


Which is the only method defined in the javax.ejb.handle interface?

627