This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes config glassfish Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "config glassfish" Watch "config glassfish" New topic

config glassfish

babak azarmi

Joined: Oct 23, 2008
Posts: 6
How do I get static RMI-IIOP stubs for it?

i searched this question and gave this answer
First, read about Portable Java EE clients and "How To Write a Stand-alone Client". The best option would be to change the client to an Application Client or to follow our stand-alone java client recommendations. If that's not possible, you can request that static RMI-IIOP stubs be generated during deployment by using the --generatermistubs option on the asadmin deploy command. In this case, the static RMI-IIOP stubs will be placed within the client.jar file. E.g.

asadmin deploy --generatermistubs --retrieve /home/user1/clientstubdir fooapp.ear

After the command executes, the client.jar containing the static RMI-IIOP stubs will be in /home/user1/clientstubdir/fooappClient.jar.

The reason static RMI-IIOP stubs are still needed in this case is that if the CosNaming provider is instantiated, it is not using the client naming provider from our appserver implementation. It instead uses an ORB from Java SE which does not support dynamic RMI-IIOP.

somebody can help me how can i implement. i need code example please
wood burning stoves
subject: config glassfish
Similar Threads
BMP, Jboss, and mysql configuring
Perogi asks about RMI vs. Sockets
not able to auto download stubs
Standalone Java EJB client
RMI-IIOP apps X CORBA apps - question.