Ask questions and see you at June, 5th at 6.PM. CET: http://www.ustream.tv/channel/adambien
-
-
Save AdamBien/b1a66dafdae21c0c40d647f05f44e57c to your computer and use it in GitHub Desktop.
Hi Adam,
Is there a way tu use eclipselink @Multitenant
in CMT (container managed transactions)?
I use JPA (eclipselink implementation) in Payara and in my webapp I need tu use multitenant. What I see is that there are nothing standard in JPA but eclipseLink have @Multitenant
. My problem is that for what i see you can only use @Multitenant
in BMT (bean managed transaction) thats mean I can not inject the entityManager (
@PersistenceContext(unitName = "myPU") private EntityManager em;
)
and set the tenant dynamically.
what are your strategy tu develop multitenant app?
oh and for @mehdithe Antnios´s blog had a good entry about JWT and jax-rs:
[https://antoniogoncalves.org/2016/10/03/securing-jax-rs-endpoints-with-jwt/]
Thanks
Sebastian.
Hi Adam,
I want to create a project with multiple java ee modules packaged in war files connected with each other with rest webservices, these wars are deployed in the same payara appserver and sharing a single database.
Is this kind of architecture suitable to build a project with large amount of data, and is having a unique database can cause performance problems ?
In you opitnion what can be the architecture to build a JEE application with different business modules sharing data between them
thanks
Kiko
Hi Adam, did you have any experience programming an scheduled MDB ?? Could you sho us an example?
Thanks
Hi Adam,
what are your experiences with the Java EE Batch API (JSR 352), especially JBeret (the JSR 352 implementation in JBoss EAP/Wildfly) concerning
ScheduledExecutorService
?)?A typical job in our application is: (a) reading a file from imap/folder/ftp/database/… (b) doing some processing like validation, transformation, … (c) writing a file to smtp/folder/ftp/database….
Are there any established alternatives to JSR 352? When would you recommend to build a own job framework?