Hello all,

Is it possible to use both annotations AND delpoyment descriptors to describe 
an EJB3?  I am looking at MDBs in particular.  

There are plenty of examples of beans that solely use annotations to describe 
themselves 
(http://trailblazer.demo.jboss.com/EJB3Trail/serviceobjects/mdb/index.html).

There are also examples of EJB3 beans that solely use deployment descriptors 
(http://docs.jboss.org/ejb3/app-server/tutorial/mdb_deployment_descriptor/mdb.html)

But I have yet to see an example of a bean that uses both.  For example, an MDB 
that use annotations to specify its destination, but uses a deployment 
descriptor to specify its user and password.  Is this possible?  If so, how 
would this be packaged?  In a .ejb3 with an ejb-jar.xml and a jboss.xml?

Any help would be greatly appreciated, thanks.





View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910541#3910541

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910541


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to