-
1. Re: insert rows in my table (cmp) when apps is deployed firs
raja05 May 16, 2003 11:25 AM (in response to chitech)Startup Servlet or mbean with dependency on ejb deployment
-
2. Re: insert rows in my table (cmp) when apps is deployed firs
chitech May 19, 2003 12:56 AM (in response to chitech)Alo raja05
The mbean dependency way sound good but how do I implement it. Can you give me a example? Thx -
3. Re: insert rows in my table (cmp) when apps is deployed firs
raja05 May 19, 2003 7:27 AM (in response to chitech)Write a class, wrap it as a SAR file and make it dependent on your ejb deployment . Take a look at the JNDIMap Example in teh first(or second) chapter of the Getting Started Documentation.
-
4. Re: insert rows in my table (cmp) when apps is deployed firs
chitech May 21, 2003 7:28 AM (in response to chitech)I have made a sar fil which start just fine..But how do I insert rows in my table so my application can use them from start.
Can I access my entity bean to create the rows? Can I do that when my application depends on the sar file....thx -
5. Re: insert rows in my table (cmp) when apps is deployed firs
chitech May 21, 2003 7:32 AM (in response to chitech)I have made a sar file which start just fine...But how do I insert rows in my database so my application can use them
Can I access my entity bean to create the rows? Can I access any of my beans in my application when the application depends on the sar file -
6. Re: insert rows in my table (cmp) when apps is deployed firs
chitech May 21, 2003 7:33 AM (in response to chitech)I have made a sar file which start just fine...But how do I insert rows in my database so my application can use them
Can I access my entity bean to create the rows? Can I access any of my beans in my application when the application depends on the sar file -
7. Re: insert rows in my table (cmp) when apps is deployed firs
chitech May 22, 2003 2:53 PM (in response to chitech)I have a sar file that I want to depends on my application (ear) and my datasource (ms sql server). How do I find the name for them?
my jboss-service.xml:
jboss:service=Naming
my application
my datasource