Forums Register Login

how create stub and skeleton ?

+Pie Number of slices to send: Send
Hi all,
with J2EE, how can I create manually (without deploymentool ) stub and skeleton classes of my files ?
Thank you very much
+Pie Number of slices to send: Send
You don't. J2EE isn't a totally monolithic and standard system. Each Vendor has their own little quirks on the generation of stubs and skeletons. Your only option is to use the deployment tool provided by the container vendor. If you're using Sun's Reference Implementation, then that's deploytool. However, remember that deploytool is a Java application -- that means you can actually manage to call it's code (even the main() method) programatically from your programs...
Kyle
+Pie Number of slices to send: Send
And you should also remember that the specification does not require that the class you write is the class that is actually implemented by the container. It could create a new class with your class as its parent or it could simply instantiate your class and invoke its methods from the container's class. Your class is really nothing more than a model for the container to use.
+Pie Number of slices to send: Send
M_tognoni
This name does not meet the JavaRanch naming standard. Please re-register using your real first name - space - your real last name.
Thanks.
Tom - moderator of this forum
+Pie Number of slices to send: Send
Hi Kyle
refereing to :
" Your only option is to use the deployment tool provided by the container vendor."
isn't Ant an opposite example, where even though you do need to change the script according to different vendors, you still don't use the vendor's deploytool?
Thanks
Shai
+Pie Number of slices to send: Send
Hi shai,
I also thought with Ant it could be possible deploy a application, without using deploytool provided from vendor.
+Pie Number of slices to send: Send
M_tognoni
This name does not meet the JavaRanch naming standard. Please re-register using your real first name - space - your real last name.
Thanks.
Tom - moderator of this forum
Why should I lose weight? They make bigger overalls. And they sure don't make overalls for tiny ads:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 889 times.
Similar Threads
If anyone know plz reply me
problem in creating stub and skeleton classes
RMI Architecture Problems
how to create stub & skeleton with jdk1.5
Soap stub/skeleton
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 14:34:36.