• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

ANT vs. Eclipse Deployment to EAServer

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
<rambling thoughts>

We use JBuilder\EAServer at my workplace and sinc I hate JBuilder, I wanna switch to Eclipse but can't find an apropriate plugin which would allow deployment to EAServer. (Lomboz has never worked for me.)

So thinking to myself, I realise that all thats needed for a Java IDE to connect with an App Server is some way to deploy the application and some way to start\stop\restart the service.

I realised that if I used Eclipse for development, I could make custom ANT scripts for deploying to EAServer and the start\restart of the service could be accomplished by small command line batch files (using net stop and net start).

So one drawback to this would be that I'd have to make a different ANT file for every project and another is that there might be no shortcut inside Eclipse to run the Server restarts\builds from.

</rambling thoughts>


1. So, is that all there is to connecting an IDE to an app server ?..automatic deployment configuration and shortcuts for server restarts ? Or am I missing something deeper ?

2. Can shortcuts for batch files\command files\command line directives be added to eclipse ?

3. Can ANT do all this that i just rambled about ?

Background Info: We use Servlets\JSP here... no EJBs anymore. Dont know if that makes a difference.

Thanks
 
author & internet detective
Posts: 42103
933
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Udit,
1) That is most of what IDE integration is. Some IDEs allow you do edit server specific configuration files from within the IDE.

2) I know they can be stickied at the top of the run menu. I imagine there is a shortcut option, but I don't know how to do that.

3) Yes.

Note that technically you don't need a different Ant script for each project. If you have a similar structure/naming conventions for each EAR, you can use a single build.xml and just have different property files. We have one script that we use for about 20 ears.
 
Whoever got anywhere by being normal? Just ask this exceptional tiny ad:
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
reply
    Bookmark Topic Watch Topic
  • New Topic