t;
> h) Is this correct? And have I done everything that I need to?
>
> Regards,
> Daniel P.
>
>
> -Ursprüngliche Nachricht-
> Von: Charlouze [mailto:m...@charlouze.com]
> Gesendet: Donnerstag, 23. April 2015 15:48
> An: Tapestry users
> Betreff: Re: AW: AW: Splitt
che Nachricht-
Von: Charlouze [mailto:m...@charlouze.com]
Gesendet: Donnerstag, 23. April 2015 15:48
An: Tapestry users
Betreff: Re: AW: AW: Splitting a tapestry web app into modules
I"m using JPA 2.1 and:
http://java.sun.com/xml/ns/persistence"; version="1.0">
Le jeu.
uot;;>
>
> Okay, do I have to regress back to JPA 2.0? Or can I still use 2.1 via
> changes to the persistence.xml?
>
> Regards,
> Daniel P.
>
> -Ursprüngliche Nachricht-----
> Von: Poggenpohl, Daniel [mailto:daniel.poggenp...@isst.fraunhofer.de]
> Gesendet: Don
to regress back to JPA 2.0? Or can I still use 2.1 via changes
to the persistence.xml?
Regards,
Daniel P.
-Ursprüngliche Nachricht-
Von: Poggenpohl, Daniel [mailto:daniel.poggenp...@isst.fraunhofer.de]
Gesendet: Donnerstag, 23. April 2015 13:47
An: Tapestry users
Betreff: AW: AW: AW:
The @PersistenceContext annotation is like the @Inject for EM. If you have
only one persistence unit, you don't need to use it, the EM will be passed
to the constructor by the registry. If you have multiple persistence unit
as it seems that you do, you have to annotate the constructor parameter
wit
On Thu, 23 Apr 2015 08:46:53 -0300, Poggenpohl, Daniel
wrote:
Hi,
thank you for your time, but I still have more questions...
e) Are the [...]Module classes to be placed in the services package in
the Tapestry app module?
The package doesn't matter, unless in the case described below.
f
ailto:m...@charlouze.com]
Gesendet: Donnerstag, 23. April 2015 13:22
An: Tapestry users
Betreff: Re: AW: AW: Splitting a tapestry web app into modules
Yep it's correct and no, there isn't any order.
Each of your modules should have its own ModuleNameModule class. This class
should contain a
; Gesendet: Donnerstag, 23. April 2015 11:54
> An: Tapestry users
> Betreff: Re: AW: AW: Splitting a tapestry web app into modules
>
> If your service is bound to the registry via a ServiceBinder then it
> should.
>
> Le jeu. 23 avr. 2015 à 11:50, Poggenpohl, Daniel <
>
il 2015 11:54
An: Tapestry users
Betreff: Re: AW: AW: Splitting a tapestry web app into modules
If your service is bound to the registry via a ServiceBinder then it should.
Le jeu. 23 avr. 2015 à 11:50, Poggenpohl, Daniel <
daniel.poggenp...@isst.fraunhofer.de> a écrit :
> Hi,
>
>
:37
> An: Tapestry users
> Betreff: Re: AW: AW: Splitting a tapestry web app into modules
>
> Hey !
>
> You can define your DAO as service and get any other services you need in
> your DAO by adding parameters to your DAO constructor.
>
> Le jeu. 23 avr. 2015 à 11:23,
[mailto:m...@charlouze.com]
Gesendet: Donnerstag, 23. April 2015 11:37
An: Tapestry users
Betreff: Re: AW: AW: Splitting a tapestry web app into modules
Hey !
You can define your DAO as service and get any other services you need in your
DAO by adding parameters to your DAO constructor.
Le jeu. 23
ther simple way or do I have to manually create the EntityManager?
>
> (I know that I can add a dependency to tapestry5-annotations)
>
> Regards,
> Daniel P.
>
> -Ursprüngliche Nachricht-
> Von: Charlouze [mailto:m...@charlouze.com]
> Gesendet: Mittwoch, 22. April 2015
: Splitting a tapestry web app into modules
hey !
here is my thoughts about your concerns :
a) controllers should be services that are bound to the registry in a
ControllerModule class.
b) persistence.xml file should probably be in your dao-hibernate module.
You can configure where to find this file
hey !
here is my thoughts about your concerns :
a) controllers should be services that are bound to the registry in a
ControllerModule class.
b) persistence.xml file should probably be in your dao-hibernate module.
You can configure where to find this file in a Module class.
c) thiago already a
--Original Message-
From: Poggenpohl, Daniel [mailto:daniel.poggenp...@isst.fraunhofer.de]
Sent: Mittwoch, 22. April 2015 15:53
To: Tapestry users
Subject: AW: AW: Splitting a tapestry web app into modules
Hello,
I'm gonna pick up this strand because more problems seem to arise when
On Wed, 22 Apr 2015 10:53:01 -0300, Poggenpohl, Daniel
wrote:
Hello,
Hi!
First, to be generic with my DAO interfaces, I can't use @CommitAfter on
them, because then I'd need a dependency to tapestry-jpa.
If you use 5.4-beta-22 or up, you don't need to put the annotation in the
interf
nd of the controller method, as this is a more logical
> point in time.
> So do I add the tapestry-jpa dependency to my controller methods? And what
> then? Do I have to register my controller as a service with Tapestry?
>
> Hope you can help me, as I'm a little bit confused.
&g
Nachricht-
Von: Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com]
Gesendet: Donnerstag, 16. April 2015 18:08
An: Tapestry users
Betreff: Re: AW: Splitting a tapestry web app into modules
On Thu, 16 Apr 2015 11:09:53 -0300, Poggenpohl, Daniel
wrote:
> Hello again,
>
> I think I
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
n a non-Tapestry
> application, the annotations would be ignored, wouldn't they?
>
> Regards,
> Daniel P.
>
> -Ursprüngliche Nachricht-
> Von: Dmitry Gusev [mailto:dmitry.gu...@gmail.com]
> Gesendet: Donnerstag, 16. April 2015 12:29
> An: Tapestry users
> B
Tapestry
> application.
>
> It seems that I have to configure the application to register the
> model project or the package...?
> Probably in AppModule, but how?
>
> Regards,
> Daniel P.
>
> -Ursprüngliche Nachricht-
> Von: Charlouze [mailto:m...@charlouze.
on.
>
> It seems that I have to configure the application to register the model
> project or the package...?
> Probably in AppModule, but how?
>
> Regards,
> Daniel P.
>
> -Ursprüngliche Nachricht-
> Von: Charlouze [mailto:m...@charlouze.com]
> Gesendet: Donnerstag,
r the model project
or the package...?
Probably in AppModule, but how?
Regards,
Daniel P.
-Ursprüngliche Nachricht-
Von: Charlouze [mailto:m...@charlouze.com]
Gesendet: Donnerstag, 16. April 2015 10:43
An: Tapestry users
Betreff: Re: Splitting a tapestry web app into modules
Sure you can
aEntityPackageManager. 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 10:36
> An: users@tapestry
April 2015 10:36
An: users@tapestry.apache.org
Betreff: Re: Splitting a tapestry web app into modules
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
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
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
27 matches
Mail list logo