[JBoss-user] [Persistence & CMP/JBoss] - Re: CRM needs one ejb-jar.xml file ???

2005-01-05 Thread ChatBuilder
typing error: My question is now. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860734#3860734 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860734 --- The SF

[JBoss-user] [Persistence & CMP/JBoss] - CRM needs one ejb-jar.xml file ???

2005-01-05 Thread ChatBuilder
Hi, I'm working with CMP entity beans, that uses relationships. The problem is that I need to add all my beans into one ejb-jar.xml file. Otherwise JBosss complains when I deploy my beans. Jboss gives an errors like: Entity bean used into the relation not know. My question is not, if there

[JBoss-user] [Persistence & CMP/JBoss] - Re: Transactions

2004-12-18 Thread ChatBuilder
I use the usertransaction for CMP entity beans, and I must say it really works... I have also readed on the internet that userTransactions are only for session beans. So I don't have a clue why it works with me. below the code of my action, of my struts application | | public ActionForwa

[JBoss-user] [Persistence & CMP/JBoss] - CMP transaction

2004-12-17 Thread ChatBuilder
Hi, I'm using CMP entity beans. In my ejb-jar.xml I use: | | | | Initiaal | * | | Required | | | in my bean I have

[JBoss-user] [Beginners Corner] - Finder question

2004-12-16 Thread ChatBuilder
Hi, I'm developping an application with CMP ejb2.1 on a JBoss4.0. I'm working with a table clients (+- 5000 records, and 20 columns). Now I want to add a list ( ) on a jsp page of all my clients. Therefore I only need two columns the id and the name. I created a ebjFindAll in my RemoteHome i

[JBoss-user] [Persistence & CMP/JBoss] - Re: Transactions

2004-12-16 Thread ChatBuilder
Hi hariv, Can you give a bit more details how to implement this? Some code would be nice. Thx, Pieter View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858937#3858937 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=385893

[JBoss-user] [Persistence & CMP/JBoss] - Re: Transactions

2004-12-16 Thread ChatBuilder
It seems to work like this: | InitialenRemote initiaal = null; | Context context = new InitialContext(); | UserTransaction userTran = (UserTransaction)context.lookup("UserTransaction"); | try{ | userTran.begin(); | | String strInitiaal = initial

[JBoss-user] [Persistence & CMP/JBoss] - Transactions

2004-12-16 Thread ChatBuilder
Hi, I have difficulties to understand how to set up transactions. I'm using servlets and CMP entitity beans. On my servlet I want to do the following. //Start transaction client.pay(500); book.soldAmount(10); //commit transaction I'm using entity beans, so I'm not sure if I can use javax.tran

[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - P. 618, workbook 4

2004-12-09 Thread ChatBuilder
Hi, I have the EJB 4th edition. I bought this book to learn a bit more about EJB's. I've setted up a JBoss 4 environment with CMP beans that interacts with MySQL. I want to create an application CMP EJB's and Servlets but I want to be independent of my database version (MySql, Oracle, Ms SQL

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMP with mySql

2004-12-08 Thread ChatBuilder
darranl, you're right my jboss ignores my jbosscmp-jdbc.xml file. I know because when I add wrong XML syntacs, my jboss doesn't complain. darranl is't it possible to send me a working CMP bean that uses MySql, it would help me a lot. Then I can be sure I'm using the right structure. email is

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMP with mySql

2004-12-07 Thread ChatBuilder
Yes yes, I'm sure my jar consists of: + hotline |-+ beheerhotline |--+ basisbestanden |---+ initialen |- InitialenHomeRemote |- InitialenRemote |- InitialenBean + META-INF |- ejb-jar.xml |- jboss.xml |- jbosscmp-jdbc.xml I putted the jar in my deploy dir together with the mysql-ds.xm

[JBoss-user] [Persistence & CMP/JBoss] - Send working CMP to email

2004-12-07 Thread ChatBuilder
Hi, I'm already trying a few days to get my jboss4.0 work with my MySql, but still with no success. Is't it possible that somebody can send me a working CMP bean, that works on a Jboss 4.x, and with MySql to my email address. That would be very helpfull. My email address is Pieter(at)ChatBui

[JBoss-user] [Persistence & CMP/JBoss] - CMP with mySql

2004-12-06 Thread ChatBuilder
Hi, I still have problems let my CMP bean, interact with mySQL. My bean still saves the data into the HyperSonic DB. My mysql-ds.xml is configured right, because when startup jboss4.0, there are two tables (jms_messages, jms_transactions) automat created into my mySql db. I also added the mysq