geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mattias Malmgren <matt...@freefarm.se>
Subject Re: Hopeless
Date Thu, 28 Sep 2006 12:32:51 GMT
Hi

Basically, I cant get the deploymentdescriptors right. At least that is 
what I think is wrong. If you deploy my EJB.jar only, it deplys fine, but 
when I add the war to the

My application compilse just fine.


At 13:01 2006-09-28, you wrote:
>Hi Mattias,
>
>You may want to look at the source code of the DayTrader application
>as it uses some CMP (http://svn.apache.org/repos/asf/geronimo/ 
>daytrader/trunk/). As this application is rather large, you may also
>want to have a look at these isolated CMP examples: ejb-jar.xml and
>openejb-jar.xml - http://tinyurl.com/k4myx; and CMP sources - http:// 
>tinyurl.com/gga5x.
>
>Also, what are the issues that you are facing?
>
>Thanks,
>Gianny
>
>On 28/09/2006, at 8:21 PM, Mattias Malmgren wrote:
>
>>Hi
>>
>>Yes, momst of my work is based on
>>http://cwiki.apache.org/GMOxDOC11/ejb-sample-application.html
>>
>>So far I have bean abel to get a sessionbean working, but CMP EJB
>>seams to be more difficult.
>>
>>Lets make a super simple example using a phone-book as an example.
>>A table like this:
>>create table phonebook (name varchar(15), number varchar(15));
>>insert into  phonebook values ('Mattias', '1234');
>>insert into phonebook values ('Jacek','5678');
>>
>>Now lets make a CMP EJB and a JSP page calling the EJB from where
>>you can search for names and get numbers back.
>>
>>If I hade a working example of that, including ejb-jar.xml openejb- 
>>jar.xml, geronimo-application.xml and mysql-pool.xml or what ever
>>other xml-files needed, I think I could make the rest of my way and
>>go on buld the applications that I realy whant to do.
>>
>>Mattias
>>
>>
>>At 12:08 2006-09-28, you wrote:
>>>On 9/28/06, Mattias Malmgren <mattias@freefarm.se> wrote:
>>>
>>>>Please help! Post som small working examples of CMP EJB!
>>>
>>>I don't have it atm, but would like to prepare something exciting for
>>>the coming JAOO conference in Aarhus in Denmark
>>>(http://www.jaoo.dk/conference/) and your idea seem to be very
>>>appealing. Could you describe what you're looking for? What EAR would
>>>be of interest to you? What configuration would be of help to you?
>>>
>>>By the way, have you taken a look at
>>>http://cwiki.apache.org/GMOxDOC11/sample-applications.html?
>>>
>>>Jacek
>>>
>>>--
>>>Jacek Laskowski
>>>http://www.laskowski.net.pl
>>



Mime
View raw message