Two Laptop Bag*
The moose likes IDEs, Version Control and other tools and the fly likes learning (not so new) java IDE techniques Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "learning (not so new) java IDE techniques" Watch "learning (not so new) java IDE techniques" New topic
Author

learning (not so new) java IDE techniques

Benjamin Weaver
Ranch Hand

Joined: Apr 08, 2003
Posts: 161
Help! I am an experienced Java developer but my skills are out of date.
1.
What is the best way to set up, build and run a Java Web project (for example, servlets + jsps+ utility objects (pojos)) on eclipse and building with Maven?
Do you, somehow run the maven within eclipse?
Or do you run maven from the command-line?
Where can I find a set of keyboard macros for eclipse so I don't have to use the mouse?

2.
Let's say you use STS (Spring tool suite). Same questions as above.


3. Let's say I am building a J2EE application to run on Tomcat. What is now the best way to test-run the tomcat application? by deploying to a separate tomcat instance or by running some sort of embedded tomcat within Eclipse or Spring?

3. Is Eclipse 3.7 ok to use + Java 1.7? or you do you recommend Eclipse 3.6 + Java 1.6?

Any perspectives are greatly appreciated!

Michael A Hoffman
Ranch Hand

Joined: Mar 04, 2009
Posts: 36

Benjamin Weaver wrote:Help! I am an experienced Java developer but my skills are out of date.
1.
What is the best way to set up, build and run a Java Web project (for example, servlets + jsps+ utility objects (pojos)) on eclipse and building with Maven?
Do you, somehow run the maven within eclipse?
Or do you run maven from the command-line?
Where can I find a set of keyboard macros for eclipse so I don't have to use the mouse?


* - Check out M2Eclipse if you want to run maven in eclipse.


2.
Let's say you use STS (Spring tool suite). Same questions as above.


* - There is an Eclipse Spring plugin, but never used it.



3. Let's say I am building a J2EE application to run on Tomcat. What is now the best way to test-run the tomcat application? by deploying to a separate tomcat instance or by running some sort of embedded tomcat within Eclipse or Spring?


* - I am slightly insane and prefer to run it separately, but many run embedded.



3. Is Eclipse 3.7 ok to use + Java 1.7? or you do you recommend Eclipse 3.6 + Java 1.6?

Any perspectives are greatly appreciated!



* - I would get Eclipse 3.7. It has seemed stable to this point.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15964
    
  19

I have had problems with Eclipse Indigo in that they appear to have broken the "outline" view for classes and I have to add "@category" annotations to one or more class functions to get access to it. Other than that, it's pretty reliable.

Definitely install m2eclipse.

There are 2 popular ways to run/debug Tomcat in Eclipse (not counting simply running against an external Tomcat). The WTP way is pre-installed in the Eclipse J2EE edition, but the Tomcat environment is limited and kludgy. The sysdeo plugin is much more natural - it basically runs as though you had an external Tomcat, but provides in-IDE control of it. You have to download and install it youself. It's what I use.

Mostly I don't bother with the plugins for frameworks like Spring and JPA. They're not all that intuitive and I waste time fighting them. Easier to do it the "hard" way.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: learning (not so new) java IDE techniques
 
Similar Threads
Front Man 1.5.0
m2eclipse: Resources not copied over to target folder
Anebie question
How to use maven for the existed project
How does one debug servlets and business classes in Eclipse