i not know. If some have experience with this question let me know.


2014-09-01 18:50 GMT+02:00 Romain Manni-Bucau [via TomEE & OpenEJB] <
[email protected]>:

> Hmm good question, I have to admit I never tried but sounds
> reasonable, if not maybe META-INF or the ear
>
>
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
> 2014-09-01 18:38 GMT+02:00 mauro2java2011 <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=4671532&i=0>>:
>
> > so if i deploy a EAR application with inside a module ejb jar and a
> module
> > war for the view, so it is legal put resources.xml into META-INF of jar
> of
> > ejb ? and so i not put resources.xml into WEB-INF of war?
> >
> >
> >
> > 2014-09-01 15:39 GMT+02:00 Romain Manni-Bucau [via TomEE & OpenEJB] <
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4671532&i=1>>:
> >
> >> you can in resources.xml but in the deployment you use, if that's a
> >> war then in WEB-INF, if it is just a jar then META-INF is fine
> >>
> >>
> >> Romain Manni-Bucau
> >> Twitter: @rmannibucau
> >> Blog: http://rmannibucau.wordpress.com/
> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> >> Github: https://github.com/rmannibucau
> >>
> >>
> >> 2014-09-01 15:23 GMT+02:00 mauro2java2011 <[hidden email]
> >> <http://user/SendEmail.jtp?type=node&node=4671508&i=0>>:
> >>
> >> > Hi all. it is possible declare a datasource with resources.xml into
> >> > META-INF/resoures.xml for get the entity and the persistence all
> inside
> >> a
> >> > ejb.jar   ???????
> >> >
> >> > It work ??
> >> > So i not have to declare the datasource int oweb application .
> >> >
> >> > Nexdt the web application call the ejb deployed int othe ejb.jar .
> >> >
> >> > or i have to desclare it int oejb-jar.xml with :
> >> >
> >> > <data-source>
> >> >      <name>java:module/ExampleDS</name>
> >> >      <class-name>org.apache.derby.jdbc.ClientDataSource</class-name>
> >> >      <server-name>localhost</server-name>
> >> >      <port-number>1527</port-number>
> >> >      <database-name>exampleDB</database-name>
> >> >      <user>examples</user>
> >> >      <password>examples</password>
> >> >      <property>
> >> >        <name>create</name>
> >> >        <value>true</value>
> >> >      </property>
> >> >      <property>
> >> >        <name>weblogic.TestTableName</name>
> >> >        <value>SQL SELECT 1 FROM SYS.SYSTABLES</value>
> >> >      </property>
> >> >    </data-source>
> >> >
> >> > a example with all packaged int ejb.jar? (both datasource
> daeclaration
> >> and
> >> > persistence.xml that references it?
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > View this message in context:
> >>
> http://tomee-openejb.979440.n4.nabble.com/declare-datasource-int-omodule-ejb-tp4671504.html
> >> > Sent from the TomEE Users mailing list archive at Nabble.com.
> >>
> >>
> >> ------------------------------
> >>  If you reply to this email, your message will be added to the
> discussion
> >> below:
> >>
> >>
> http://tomee-openejb.979440.n4.nabble.com/declare-datasource-int-omodule-ejb-tp4671504p4671508.html
> >>  To unsubscribe from declare datasource int omodule ejb, click here
> >> <
>
> >> .
> >> NAML
> >> <
> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
> >>
> >
> >
> >
> >
> > --
> > View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/declare-datasource-int-omodule-ejb-tp4671504p4671530.html
>
> > Sent from the TomEE Users mailing list archive at Nabble.com.
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://tomee-openejb.979440.n4.nabble.com/declare-datasource-int-omodule-ejb-tp4671504p4671532.html
>  To unsubscribe from declare datasource int omodule ejb, click here
> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4671504&code=bWF1cm8yamF2YTIwMTFAZ21haWwuY29tfDQ2NzE1MDR8LTExMTcxODc2MjU=>
> .
> NAML
> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/declare-datasource-int-omodule-ejb-tp4671504p4671533.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to