----- Original Message ----- 
From: "vicky" <mehta...@gmail.com>
To: "Java EE (J2EE) Programming with Passion!" 
<java-ee-j2ee-programming-with-passion@googlegroups.com>
Sent: Saturday, September 19, 2009 8:39 PM
Subject: [java ee programming] plz help quickly


> 
> hello guys, actually i have a problem from RMI ,  if somebody may
> help.
> u all must be knowing that, one has to make a stub file from the
> interface implemented, using rmic command(if done through command
> prompt).
> ok , my question is how to do it , when my whole project is in
> netbeans, means how to create stub class when my project is running
> from netbeans.
> 


Hell Vicky,

There are a number of ways to generate your stub. You can easily achieve this 
through your Ant script task like so: 
<rmic classname="com.javawug.Sample" base="${build}/classes"/>
this runs the rmic compiler for the class com.javawug.Sample. The compiled 
files including the stub will be placed in the directory ${build}/classes.

Another would be to use your terminal and navigate to where your files are and 
run the rmic command on your files, that shouldn't too hard to do either.
Hope that helps

Evans
http://valashiya.blogspot.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to