- This topic has 1 reply, 2 voices, and was last updated 18 years, 9 months ago by Riyad Kalla.
-
AuthorPosts
-
arijithsinhaMemberI have a development/deployment structure which is as follows
Master Folder Source deploymentdescriptorsforejbs com xxx yyy a.java b.java deployment config domain applications EnterpriseApp ejb1.jar ejb2.jar DefaultWebapp jsps a.jsp templates template1.jsp WEB-INF web.xml
I used Ant scripts previously to compile, prepare my ejb deployment jars and my overall classes jar file and then moved them to the classpath and the WEB-INF\lib folder. I use weblogic as the deployment application server.
Could you please suggest how to set this up under myEclipse with full Struts and hibernate support.
I have tried every which way to create projects under eclipse but somehow the wizards mess up the folder structure or don’t include my source directory and expects source files to be elsewhere.
The best I have come up is having a Java source project and a WEB project and using them separately. I think I am missing some basic thing here and will appreciate some feedback.
Thanks,
Arijith
Riyad KallaMemberArijith,
It looks like you are actually mixing an Enterprise App Project, 3rd party EJBs and Web Project all in this source tree which MyEclipse won’t support because it is built around the same classloader structure that your Enterprise App server will employ.First I would suggest you rip out your Web Application, determine which part of this tree is your Web Project and put that into a web project. Then read this doc:
http://www.myeclipseide.com/images/tutorials/quickstarts/earprojects/And create your enterprise app and drop your 3rd party EJB JARs into the root of your EA Project and setup your web project as a module of it.
-
AuthorPosts