Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ejb

 
hema_bhandari
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have created a test example to be deployed on jrun.i have a jar file comprising of Hello,HelloBean,HelloHome and xml deployment descriptor.
i have deployed this jar file in the jrun using jrun management console.
can someone please tell me how to run this example.
 
sivaram ponraj
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello hema,
Have a client program to acess the Bean.Set the classpath to the jar file u have created.And then run the client.
The client program should look up for the jndi name of the bean and then using the remote interface reference u can acess all the user defined the methods.
 
hema_bhandari
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi sivaram
thanx a lot for the reply.
my problem is that i have created the client.do i need to make jar file for the client as well and what all files do i put on the client.
main thing is after all this how do u start the server in the sense that do i have to set certain properties at the time of start.coz when i start the server according to my application it should give me certain message but it doesn't.no error also.
and how do i start the client.
thanx
hema
 
Matt Midcap
Sheriff
Posts: 440
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"hema_bhandari"
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.
Thanks.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic