EJB3 Quiz from Sun

Questions cover various major changes in EJB3 Simplified API, are tricky questions. If you are familiar with EJB 2.x but new to EJB3, you may be surprised by some answers. So go ahead test your EJB3 knowledge here.

These are some take-away points after I took the quiz:

  • Directly Use Object.equals(Object other) to compare EJB3 session bean references. No more isIdentical(EJBObject other).

  • EJB3 lifecycle methods, interceptor methods, and injection fields/methods can be of any access type: public, protected, private, or default.

  • Use SessionContext.lookup(String name) to lookup EJB and resources, e.g., sctx.lookup("jdbc/defaultDB"); Note the name has no prefix "java:comp/env". This prefix is still required in regular JNDI lookup.

  • A EJB3 session bean can have any number of local and remote business interfaces. But an interface cannot serve as both the remote and local interface for a bean.
Tags: , , , ,


Anna said...

Great and Useful Article.

Online Java Course

Java Online Training

Java Course Online

J2EE training

online J2EE training

Best Recommended books for Spring framework

Java Interview Questions

Java Training Institutes in Chennai

Java Training in Chennai

J2EE Training in Chennai

java j2ee training institutes in chennai

malavika said...

An intriguing discussion is worth comment. I think that you ought to
publish more on this subject matter, it might not be a taboo matter but
generally people don't discuss these issues. To the next! Kind regards!!

Python Training in Marathahalli
Oracle Training in Marathahalli
AngularJS Training in Marathahalli
PHP Training in Marathahalli
Core Java Training in Marathahalli
iOS Training in Marathahalli
OracleDBA Training in Marathahalli
Informatica Training in Marathahalli
JMeter Training in Marathahalli
PowerShell scripting Training in Marathahalli

Motohog said...

motorcycle t shirts india
best biker t shirts
mens motorcycle t shirts
Rider t shirts online india
womens biker t shirts

Anonymous said...

There's definately a lot to find out about this topic. I love all of the points you made. online google pixel display repair You have made some good points there. I looked on the web to find out more about online nokia display repair the issue and found most people will go along with your views on this web site. online iphone display repair

repairtechsolutions said...

Nice post. I learn something new and challenging on blogs I stumbleupon every day. It's always interesting to read through content online mi display repair from other writers and use a little something from other websites. I online lg display repair blog often and I truly appreciate your content. Your article has really peaked my interest. I will book mark your website and keep checking for new information about once per week. I opted in for your Feed as well. online mobile repair marathahalli

iuwekjhbr said...

Please refer below if you are looking for best Online job support and proxy interview from India

DevOps Proxy Interview Support From India | PHP Proxy Interview Support From India | Selenium Proxy Interview Support From India | Hadoop Proxy Interview Support From India | Java Proxy Interview Support From India | Angular Proxy Interview Support From India | Python Proxy Interview Support From India | Android Proxy Interview Support From India

Thank you for excellent article.

shreejahealth said...

Shreeja Health Care is leading manufacturer of Oil Maker Machine. Shreeja Oil Extraction Machine is able to extract oil from various seeds like peanuts, Coconut, Sesame, Soybean, macadamia nuts, walnuts, sunflower seeds, vegetable seeds flaxseed etc.

Tech said...

The Linux Foundation Certified Engineer (LFCE) is the subject matter expert for the next generation of system engineering professionals. They are involved in the repairing, maintenance and designing of Linux based enterprise network solution to the organization.

Best Linux Certification

Valluva said...

Thank you for sharing
Thanks For Your Blog

Valluva said...

office designers
office interior designers