BEA WEBLOGIC SERVER INTERVIEW QUESTIONS PDF

It prints out some debugging information. If everything is working correctly, you should see your machine name. Question Answer : Yes. One option is to do this every time you come into the onMessage routine for the MDB.

Author:Golmaran Goran
Country:Botswana
Language:English (Spanish)
Genre:Politics
Published (Last):10 May 2017
Pages:417
PDF File Size:10.25 Mb
ePub File Size:4.97 Mb
ISBN:827-7-21868-247-6
Downloads:75384
Price:Free* [*Free Regsitration Required]
Uploader:Nikosho



Close any open resources, like database connections b. All non-transient, non-serializable fields except some special types should be set to null. All transient fields should be set to null d.

Make all database connection reference fields transient e. All primitive type fields should be set to null Choices A, B and D are correct. When a bean is about to be passivated, its ejbPassivate method is invoked, alerting the bean instance that it is about to enter the Passivated state.

At this time, the bean instance should close any open resources and set all non transient, non serializable fields to null. This will prevent problems from occurring when the bean is serialized. Transient fields will simply be ignored. Serializable fields will be saved. Open resources such as sockets or JDBC connections must be closed whenever the bean is passivated. In stateful session beans, open resources will not be maintained for the life of the bean instance.

When a stateful session bean is passivated, any open resource can cause problems with the activation mechanism. The types in this list and their subtypes are handled specially by the passivation mechanism.

BAROMETER RISING HUGH MACLENNAN PDF

40 Important Weblogic Interview questions

Close any open resources, like database connections b. All non-transient, non-serializable fields except some special types should be set to null. All transient fields should be set to null d. Make all database connection reference fields transient e. All primitive type fields should be set to null Choices A, B and D are correct.

MANKU THIMMANA KAGGA PDF

Oracle WebLogic Interview Questions

How can I run multiple instances of the same servlet class in the same WebLogic Server instance? If you want to run multiple instances, your servlet will have to implement the SingleThreadModel interface. An instance of a class that implements the SingleThreadModel interface is guaranteed not to be invoked by multiple threads simultaneously. Multiple instances of a SingleThreadModel interface are used to service simultaneous requests, each running in a single thread. When designing your servlet, consider how you use shared resources outside of the servlet class such as file and database access.

Related Articles