[jboss-user] [J2EE Design Patterns] - Executing Native Commands

jgeraert do-not-reply at jboss.com
Wed Nov 7 16:53:59 EST 2007


We are using some Stateless session beans to execute some native commands. ( through Runtime.getRuntime().exec() ). But i feel we're raping the EJB spec in every possible way with doing this. 

The commands we're executing will fetch some files from some legacy file service. 

But what is the correct way of executing these commands, is there a specific pattern I can use? Should i mabye use JCA for this?  

Please advise,

Thank you very much,


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

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

More information about the jboss-user mailing list