Júnior,
You can
pull your class out of your web application and create a java
library. When you complie the library, you will get a .jar.
Then use this library (.jar) in your web
application.
Michelle
I have a web application with the class Product.
And I want to use
that class in other web application.
Sean Chen wrote:
The question is why do you want a jar, not a war. It doesn't make much sense.
On Mon, Jun 9, 2008 at 8:01 AM, Júnior - iB junior@... wrote:
How do i generate a .JAR for a Web Application?
By default it generates .WAR, but I need a .WAR and a .JAR to the same
project.
Product Version: NetBeans IDE 6.1 (Build 200804211638)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1252; pt_BR (nb)
Thanks,
Júnior.