The complicated things is not that much in the code but in how to successfully get it deployed. But okay, here is an example on a little bean with CMP for securities (stocks) which I have been able to deploy in the
J2EE 1.3 RI app server from Sun.
The home interface:
The business component interface:
And the code for the bean, which is almost empty:
Well, we need a client also to be able to see it really happen when we have got the bean deployed. So here is a little client:
I have got this example to work in the J2EE 1.3 RI app server.
By the way, the named stocks is Swedish stocks

[ June 13, 2007: Message edited by: Jonny Andersson ]