Announcement Announcement Module
Collapse
No announcement yet.
share hibernate entities between LCDS and BlazeDS Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • share hibernate entities between LCDS and BlazeDS

    Now, because some problem unresolved, i run LCDS and BlazeDS on same Tomcat server. But i want to use hibernate entities from LCDS (that are java annotated classes), in BlazeDS. It's possibil that?
    My directory structure it's bellow:
    Code:
    webapps___
    		|
    		lcds__
    		|	|
    		|	WEB-INF___
    		|			|
    		|			classes____
    		|			|               hibernate.cfg.xml
                    |                       |
                    |                       lib__....there are java classes deployed as jar's.
    		|
    		|
    		blazeds____
    				|
    				WEB-INF___
    						|
    						web.xml
    						applicationContext.xml
    In applicationContext is instantiate bean sessionFactory with class org.springframework.orm.hibernate3.annotation.Anno tationSessionFactoryBean.
    Hibernate.cfg.xml contain config files for hibernate, and mapping classes.
    Or, what can do, to use same java classes in lcds and blazeds, without need to deploy into everything context?
    Last edited by vlad2005; Jun 9th, 2009, 03:01 PM.
Working...
X