Ask questions and see you at June, 5th at 6.PM. CET: http://www.ustream.tv/channel/adambien
Created
May 10, 2017 12:32
-
-
Save AdamBien/b1a66dafdae21c0c40d647f05f44e57c to your computer and use it in GitHub Desktop.
39thAirhacksQ&A.md
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.