J2EE projects in CVS

Hi all, I磎 novice in J2EE technology. I have to save all code and docs of J2EE project to a CVS server. My problem is I don磘 know what structure of folders is more appropiate for this type of project. Can anybody tell me how should I organize it? Thanks in advance.
[272 byte] By [i92jurira] at [2007-11-27 6:19:27]
# 1
First you 'check in' the project , you get the structure of project
lincolnrosea at 2007-7-12 17:34:04 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

best bet would be to segregate the EJB interfaces (client code) into a separate folder/module. that way you can reduce the opportunities of direct reference to objects that are run-time bound.

the server side code could then consume the resulting jar of the stubs as if it were a third-party library when you compile/build your war/ear/jar file.

something like

/web - client collateral (images, jsps, style sheets, etc.)

/eeclient - client side java (stubs, interfaces, etc.)

/eeserver - server side java (ejb realizations, middleware, etc.)

obviously there are many ways to skin this cat, but at the very least you want to isolate the representation layer, client code, and server code. more granularity will help if your build system is sane and works on a "consumption" mechanism rather than just building a huge pool of .java files that reference each other willy-nilly.

== sfisque

eldricha at 2007-7-12 17:34:04 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3
Hi eldrich, a lot of thanks for your help. I磍l try that way.
i92jurira at 2007-7-12 17:34:04 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...