Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

making a stand alone program as a JBoss resource

 
kala praveen
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings..!

I have a stand alone java client program which collects some logs from other hardware device and inserts them into database using a Session Bean of Jboss.

But, even though the program and JBoss running on the same machine, as the Stateless Session bean is running inside the Jboss, it is necessary for me to look up the home interface and call the method on that session bean.

Here most of the time is wasted for marshalling and unmarshalling the parameters. How can I make this stand alone program a part of JBoss. so that the session beans will become local components..n the burden of marshalling and unmarshalling will not be there.

Please let me know how can I run this stand alone program under the context of Jboss.

Thank you.
Kala.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic