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.
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.
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.
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.