<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Alfresco Embedded Integration with EJB-Hibernate Application in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-embedded-integration-with-ejb-hibernate-application/m-p/260688#M213818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently we have an application which is built in EJB 2.0 and Hibernate 3.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And we want to integrate alfresco (which is build using Spring-Hibernate) into this application, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but after looking at both architectures we are in dilemma whether we can achieve it,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;can we merge both (i.e. our application's and alfresco's) hibernate configs in some way, so that they will have separate hibernate sessionFactory and loading configs for them, and they will connect to their dbs separately. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(I personally don't think its a good approach)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OR &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;can we have two separate hibernate inits in same JVM, (i don't know anything about this), &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I mean, my application will connect to its db-schema&amp;nbsp; with its own hibernate, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and alfresco will connect to the same db-schema OR its own schema with its hibernate (both behaving separately), &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(This thought just came to my mind, I have basic competency in hibernate)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So can we achieve it? Any thoughts are welcome.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Sep 2012 17:22:00 GMT</pubDate>
    <dc:creator>pramodkhare</dc:creator>
    <dc:date>2012-09-14T17:22:00Z</dc:date>
    <item>
      <title>Alfresco Embedded Integration with EJB-Hibernate Application</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-embedded-integration-with-ejb-hibernate-application/m-p/260688#M213818</link>
      <description>Hi, Currently we have an application which is built in EJB 2.0 and Hibernate 3.1.And we want to integrate alfresco (which is build using Spring-Hibernate) into this application, but after looking at both architectures we are in dilemma whether we can achieve it,can we merge both (i.e. our applicatio</description>
      <pubDate>Fri, 14 Sep 2012 17:22:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-embedded-integration-with-ejb-hibernate-application/m-p/260688#M213818</guid>
      <dc:creator>pramodkhare</dc:creator>
      <dc:date>2012-09-14T17:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Embedded Integration with EJB-Hibernate Application</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-embedded-integration-with-ejb-hibernate-application/m-p/260689#M213819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thoughts:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a) Your EJB-Hibernate app can call any of the remote alfresco APIs anyway.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;b) the remaining hibernate stuff in alfresco is residual or for dependent components like JBPM,&amp;nbsp; alfresco no longer uses hibernate for the important database access.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;c) If you are using EJBs then you should probably be sharing alfresco at a service level rather than a database level.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;d) you can probably expose the parts of the alfresco public api as a EJB interfaces,&amp;nbsp; I know people did this with EJB 1.0 on the older versions of alfresco.&amp;nbsp; Distributed rollback may be a problem if you do manage to expose alfresco APIs as EJBs.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Sep 2012 11:42:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-embedded-integration-with-ejb-hibernate-application/m-p/260689#M213819</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2012-09-15T11:42:38Z</dc:date>
    </item>
  </channel>
</rss>

