annotations in ejb

Hi ,

i have learned ejb long back. now i brushup my knowledge in ejb with help book and some articles in net. but i really got confused with the things like annotations and interceptors(i thought after reading this might have work like filter concept in servlets).

is this annotations are replacements for deployment descriptors ?

and in the book(which i am referring) he deployed and running the application with glassfish ?

can u please tell me what is this annotations? and please give me information(urls) which helps me to get knowledge (fundamental knowledge i.e how the session beans ,entity beans,message driven beans life cycle methods are called )?

Thanks in advance

Message was edited by:

pranathi

[759 byte] By [pranathia] at [2007-11-26 19:03:29]
# 1

Hello, pranathi!

>is this annotations are replacements for deployment descriptors ?

deployment descriptor of ejb (ejb-jar.xml) are not deprecated and if you don't want to use annotations don't use.

>can u please tell me what is this annotations?

annotations - is metadata cap-ty introduced in Java SE 5

>and please give me information(urls) which helps me to get knowledge (fundamental knowledge i.e how the session beans ,entity beans,message driven beans life cycle methods are called )?

TheServerSide.com and free books there(

http://www.theserverside.com/tt/books/wiley/masteringEJB3/index.tss)

EUEEa at 2007-7-9 20:50:42 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...