Why don't you move the package database to a separate jar file and put this jar in the all projects?
Regards, --- Felipe Marin Cypriano Vitória - ES http://www.linkedin.com/in/felipecypriano On Fri, Feb 20, 2009 at 12:10 PM, [email protected] < [email protected]> wrote: > > Hi, > > I wonder if someone could advice me. Basically, I have created a > module which is now completed. Its package structure looks like this: > > src > com.project > com.project.client > ManagementApplication.java > com.project.database > com.project.server > ServerSQLServiceImpl.java > > Now, I need to extend my project so that another 2 applications can > use the code in the database package. So can someone tell me the > correct procedure I should follow when structuring my packages? > > I was thinking of having something like this: > > src > com.project > com.project.client > GeneralModuleLoadClass.java > > Application1 > ManagementApplication.java > > Application2 > Example2.java > >Application3 > Example3.java > com.project.database > com.project.server.Application1 > ServerSQLServiceImplApplication1.java > com.project.server.Application2 > ServerSQLServiceImplApplication2.java > com.project.server.Application3 > ServerSQLServiceImplApplication3.java > > Am I along the right tracks? (GeneralModuleLoadClass.java will be the > entry point class) > > And also, what do I need to change in the XML file? This is what I > have at the moment: > > <!-- Specify the app entry point class. -- > > > <entry-point class='com.project.client.ManagementApplication'/> > > <servlet path="/server-status" > class="com.project.server.ServerSQLServiceImpl"/> > > > Do I need to have 3 servlet 'classes' e.g. one for each package? So my > xml file will look like this: > > <!-- Specify the app entry point class. -- > > > <entry-point class='com.project.client.GeneralModuleLoadClass'/> > > <servlet path="/server-status" > class="com.project.server.ServerSQLServiceImplApplication1" > class="com.project.server.ServerSQLServiceImplApplication2" > class="com.project.server.ServerSQLServiceImpApplication3"/ > > > > Or have I got this all wrong?! Please can someone help! > > Regards, > Jack > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
