[jboss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - example in chapter 11, ProcessPayment

iner do-not-reply at jboss.com
Thu Oct 11 06:47:02 EDT 2007


Hello,

Just wondering why suddenly the use of PrepareStatement in this
book, the example before has had us use the EntityManager and the persist method - and now we are back in time.
Is there a reason for this, som pedagogy ?

Seeing also under the 'Accessing environment properties (injection)'  in the same chapter the use of an xml-descriptor.
Is there  another way to do this, seeing that Glassfish has this approach . 
%glassfish_home%\bin\asadmin.bat create-jms-resource --host localhost --port 4848 --user admin  
  | --restype javax.jms.Topic --property imqDestinationName=StatusMessageTopic StatusMessageTopic

Or is the xml-descriptor to prefer ?

Still new here, so I am a bit lost from time to time,
but hoping to 'master' this subject at last ( EJB 3.0 that is ).

regards, i

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

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



More information about the jboss-user mailing list