-
1. Re: Seam 3 booking example and IntelliJ
pgmjsd Jun 21, 2011 1:49 PM (in response to mobwerner)I'd use the Maven plugin, since it is working for you.
Personally I stopped using IDEAs app server integration a long time ago. It was just too much of a pain for me to support it for all the developers on the team. For hot deploy of web resources I usually make a simple ANT target and bind it to key-chords in IDEA for rapid development cycles.
-
2. Re: Seam 3 booking example and IntelliJ
lightguard Jun 21, 2011 5:49 PM (in response to mobwerner)I feel the same, haven't used IDE + server integration for a while.
-
3. Re: Seam 3 booking example and IntelliJ
mobwerner Jun 22, 2011 4:20 AM (in response to mobwerner)I got it working from inside IntelliJ.
The error I got was related to @PersistenceContext and hot deployment. I have seen in the jboss jira there is a pending issue about this.
See https://issues.jboss.org/browse/EJBTHREE-2256
I have changed the BookingAuthenticator class so it uses a SMPC (@Inject in bookingAuthenticator instead of @PersistenceContext, created a producer field for entitymanager)
Apparently this solves my problem when redeploying the seam booking from within IntelliJ Jboss Server integration.
-
4. Re: Seam 3 booking example and IntelliJ
mobwerner Jun 22, 2011 5:12 AM (in response to mobwerner)Update:
Changing some stuff in AuthenticatorBooking worked with a simple deploy.
When I changed the BookingLog, it did not work without rebuilding the project.
I suppose a rebuild project will cause the implementation class of BookingLog to be generated.
My observation is that a normal build does not recreate the implementation class of BookingLog interface.