facebook

How do I build the war with the REST service?

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #348841 Reply

    earroway
    Member

    Hello,

    I have a Bling subsription. I developed a rest web service with the help of the tutorial packaged with the product. I also use Hibernate in the product. The application now works within MyEclipse IDE. I need to package the application into a WAR and deploy it to a Tomcat instance. How do I convert the project into a war? I want to use the jars that were provided by myeclipse for Hibernate and Rest.

    Thanks in advance.

    #348882 Reply

    earroway,

    You can export a project as a WAR file using File > Export > MyEclipse JEE > WAR file > Select the project to be exported, browse the destination and click Finish.

    Once the WAR file is created in the selected destination, place the WAR file under Tomcat webapps directory and restart Tomcat. A folder with project name will be created and you can find all the libraries under <Tomcat dir>\webapps\ProjectName\WEB-INF\lib folder.

    Hope this helps and let us know if you see any issues in MyEclipse.

    #348906 Reply

    earroway
    Member

    @support-pradeep wrote:

    earroway,

    You can export a project as a WAR file using File > Export > MyEclipse JEE > WAR file > Select the project to be exported, browse the destination and click Finish.

    Thanks Pradeep. Worked perfectly.

    #348917 Reply

    earroway,

    Let us know if you see any issues or have any questions on MyEclipse.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: How do I build the war with the REST service?

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in