Re: AW: Splitting a tapestry web app into modules

2015-04-16 Thread Thiago H de Paula Figueiredo
On Thu, 16 Apr 2015 11:09:53 -0300, Poggenpohl, Daniel wrote: Hello again, I think I understand now. The only problem I see at the moment is that once I split the app into model and tapestry app, I can't use e.g. @NonVisual or @Validate anymore because those are Tapestry-specific. Or c

Re: Splitting a tapestry web app into modules

2015-04-16 Thread Charlouze
they would be ignored ... If you want your module to be more generic, you should use the bean validation API (JSR 303) instead of @Valid. Le jeu. 16 avr. 2015 à 16:10, Poggenpohl, Daniel < daniel.poggenp...@isst.fraunhofer.de> a écrit : > Hello again, > > I think I understand now. > > The only pr

AW: Splitting a tapestry web app into modules

2015-04-16 Thread Poggenpohl, Daniel
Hello again, I think I understand now. The only problem I see at the moment is that once I split the app into model and tapestry app, I can't use e.g. @NonVisual or @Validate anymore because those are Tapestry-specific. Or could I add a dependency to the annotation packages? If the model woul

Re: Splitting a tapestry web app into modules

2015-04-16 Thread Dmitry Gusev
Hi, Java doesn't know anything about projects & modules. It works with classpath. Just make sure all your packages & entities on the same classpath and you should be good. On Thu, Apr 16, 2015 at 1:10 PM, Poggenpohl, Daniel < daniel.poggenp...@isst.fraunhofer.de> wrote: > Hi, > > I'm not sure I

AW: Splitting a tapestry web app into modules

2015-04-16 Thread Poggenpohl, Daniel
Hi, I'm not sure I get how you do it. Reading up on http://tapestry.apache.org/ioc.html http://tapestry.apache.org/starting-the-ioc-registry.html http://tapestry.apache.org/registry-startup.html I'm not connecting what is described with my problem yet. Perhaps using an example would help me. Let'

Re: Splitting a tapestry web app into modules

2015-04-16 Thread Charlouze
Sure you can ... You just have to make sure that the module is used upon registry configuration. Le jeu. 16 avr. 2015 à 10:41, Poggenpohl, Daniel < daniel.poggenp...@isst.fraunhofer.de> a écrit : > Hi, > > I'm using tapestry-jpa. > I've found a reference to JpaEntityPackageManager. I can contribu

AW: Splitting a tapestry web app into modules

2015-04-16 Thread Poggenpohl, Daniel
Hi, I'm using tapestry-jpa. I've found a reference to JpaEntityPackageManager. I can contribute package names, but can I contribute packages in other projects? Regards, Daniel P. -Ursprüngliche Nachricht- Von: Charlouze [mailto:m...@charlouze.com] Gesendet: Donnerstag, 16. April 2015 1

Re: Splitting a tapestry web app into modules

2015-04-16 Thread Charlouze
Hey Are you using JPA or Hibernate ? Charles Le jeu. 16 avr. 2015 à 10:21, Poggenpohl, Daniel < daniel.poggenp...@isst.fraunhofer.de> a écrit : > Hello everyone, > > I'm trying to enable reuse for our projects by splitting our application > into separate modules for the data model and the web u

Splitting a tapestry web app into modules

2015-04-16 Thread Poggenpohl, Daniel
Hello everyone, I'm trying to enable reuse for our projects by splitting our application into separate modules for the data model and the web ui, among others. When starting a Tapestry application, it looks for the entities in the entities package of the same project. Is it even possible that I