Discussions

General J2EE: JPA + Multiple Applications

  1. JPA + Multiple Applications (4 messages)

    Can JPA handle a system wherein the database is being use by numerous applications?
  2. Yes, but you'll probably run into cache coherency problems.
  3. Yes, but you'll probably run into cache coherency problems.
    Unless you use a coherent cache ;-) Peace, Cameron Purdy Tangosol Coherence: Clustered Coherent Caching for Java
  4. Re: JPA + Multiple Applications[ Go to top ]

    Yes, JPA can handle this, but you should configure caching correctly. For example, if you use GlassFish / Toplink Essentials, read this: http://weblogs.java.net/blog/guruwons/archive/2006/09/understanding_t_1.html And this if you need more details: https://glassfish.dev.java.net/servlets/BrowseList?list=persistence&by=thread&from=508660 http://www.oracle.com/technology/products/ias/toplink/jpa/resources/toplink-jpa-extensions.html#TopLinkCaching You will need to turn off shared caching in these cases.
  5. Re: JPA + Multiple Applications[ Go to top ]

    thanks for the reply, we tried JPA without caching and it was so slow, currently we're also comparing it to ibatis which gives as acceptable speeds in this scenarios. Thanks!