aspose file tools*
The moose likes Web Services and the fly likes Deploying a Webservices project which is only a jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Deploying a Webservices project which is only a jar" Watch "Deploying a Webservices project which is only a jar" New topic
Author

Deploying a Webservices project which is only a jar

sandeeprajsingh tandon
Ranch Hand

Joined: Mar 06, 2009
Posts: 70
My JAVA project contains restful webservices. It is a JAR and has a Webcontent and html files to invoke those webservices.How can i deploy this jar file with a webcontent in it and access those html pages inorder consume the webservices.

I think the correct way would be to make a new Dynamic Webproject, Copy all the code and reorganize it and deploy this war file. Accessing html and other stuff would be easy. I am however trying to avoid creating this manual copying.

Another way would be to change the eclipse-nature of the Java Project to make it a webproject, but it somehow didnot work.

Could someone help me understand if a JAR can have a Webcontent and can such a jar be deployed and used to test out the webservices.

thanks
sandeepraj
 
wood burning stoves
 
subject: Deploying a Webservices project which is only a jar
 
Similar Threads
wsad
JSP in a folder
eclipse jee cannot create log file with log4j in webproject
Access Project Utility Jar which is outside of WebContent\WEB-INF\lib from web proj packaged as EAR
How to embed JavaFX 2.0 application with jsp (to deploy it on server)