This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse project configuration, OMG 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 "Eclipse project configuration, OMG" Watch "Eclipse project configuration, OMG" New topic
Author

Eclipse project configuration, OMG

Solo Chiang
Greenhorn

Joined: Sep 14, 2005
Posts: 18
Hi to all

I just joined a company and figured out their "standard" eclipse configuration really make my jaw hit on the floor.

They have one J2EE application, which contains 3 web module, 1 ejb module.
In the project I worked before, we usually have 3 dynamic web projects for these 3 web modules, 1 ejb project for this ejb module. And another J2EE project which defines which modules is included in this project.

But in this company that I just joined, they have a big fat J2EE project and Dynamic Web project pointing to the same directory UNDER their weblogic installation folder. And this two projects are actually pointing to the same directory. In another words, they don't need to do any real deployment, since their work is done right under server installation directory.

Would somebody could give me a more systematic explaination why they are not doing things in the right way?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38044
    
  22
You should discreetly discuss this with somebody at work. Then discuss the possible configurations.

And make sure none of your co-workers is a regular JavaRanch contributor who is likely to read this post
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15960
    
  19

Originally posted by Solo Chiang:
Hi to all

In another words, they don't need to do any real deployment, since their work


I think you've just answered your own question. WebLogic is fairly heavy, so the less starting, stopping, and redeploying people have to do, the faster they can spin through the code/compile/test cycle.

On the other hand, becoming over-dependent on the internal deployment infrastructure of WebLogic is a little dangerous, since if they change it, the whole project structure will have to be re-evaluated.

I do something similar with Tomcat, however. The difference is that Tomcat can be configured to run apps that are installed outside of Tomcat itself, so I just point Tomcat to the part of the project where I build my WAR. It's a fully-sanctioned way of configuring Tomcat, so I have almost no risk that future releases of Tomcat will find it disagreeable.


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: Eclipse project configuration, OMG
 
Similar Threads
Best practices for setting up modules with interdependencies in CVS
Idea behind facet
Eclipse project configuration, OMG
Developing with Eclipse and Tomcat
j2ee project dependency and project reference