Entity Beans have had a tough time trying to gain acceptance in the J2EE community. In the latest Tales from TheServerSide cartoon, the woes for entity beans continue. Find out why entity bean 'persistence' can prove disastrous for your session facade layer and how 'performance' is even worse outside the container.
Check out EJB Persistence
-
Tales From TSS: The Problems with EJB Persistence (23 messages)
- Posted by: Nate Borg
- Posted on: May 20 2004 11:35 EDT
Threaded Messages (23)
- Tales From TSS: The Problems with EJB Persistence by YOYO XXX on May 20 2004 14:33 EDT
- Enough of this topic by me havename on May 20 2004 18:23 EDT
- Enough of this topic by Srikanth Shenoy on May 20 2004 07:29 EDT
- Tales From TSS: The Problems with EJB Persistence by srinivasan sundara rajan on May 21 2004 03:49 EDT
-
Tales From TSS: The Problems with EJB Persistence by D S on May 21 2004 08:55 EDT
-
Tales From TSS: The Problems with EJB Persistence by Mark N on May 21 2004 09:10 EDT
-
Sorry to do this people by Narins Scott on May 22 2004 07:12 EDT
- Sorry to do this people by Mark N on May 24 2004 08:04 EDT
-
Sorry to do this people by Narins Scott on May 22 2004 07:12 EDT
-
Tales From TSS: The Problems with EJB Persistence by Mark N on May 21 2004 09:10 EDT
- Tales From TSS: The Problems with EJB Persistence by Mark Woyna on May 24 2004 02:38 EDT
-
Tales From TSS: The Problems with EJB Persistence by D S on May 21 2004 08:55 EDT
- Tales From TSS: The Problems with EJB Persistence by Hakan Erdogan on April 21 2006 07:53 EDT
- Enough of this topic by me havename on May 20 2004 18:23 EDT
- I hate this kind of jokes. by Lisa Li on May 20 2004 17:47 EDT
- I agree by Wesley Hall on May 21 2004 10:43 EDT
-
I don't by Phani Mantravadi on May 21 2004 02:13 EDT
- I don't by Wesley Hall on May 24 2004 07:05 EDT
- W.T.F. by ross stanley on December 13 2004 12:09 EST
-
I don't by Phani Mantravadi on May 21 2004 02:13 EDT
- I agree by Wesley Hall on May 21 2004 10:43 EDT
- Tales From TSS: The Problems with EJB Persistence by Wes Biggs on May 20 2004 18:01 EDT
- Tales From TSS: The Problems with EJB Persistence by Ruslan Zenin on May 21 2004 00:12 EDT
- Tales From TSS: The Problems with EJB Persistence by Par Eklund on May 21 2004 05:59 EDT
- Antipattern by Fabio Di Donato on May 21 2004 07:09 EDT
- Tales From TSS: The Problems with EJB Persistence by Michael Mahemoff on May 21 2004 18:38 EDT
- C++, VB.NET, C#.Net by Anthony Berglas on May 22 2004 01:18 EDT
- Tales From TSS: The Problems with EJB Persistence by brad leupen on May 22 2004 10:29 EDT
-
Tales From TSS: The Problems with EJB Persistence[ Go to top ]
- Posted by: YOYO XXX
- Posted on: May 20 2004 14:33 EDT
- in response to Nate Borg
very funny :-)
this one reminds we that TSS thread about J2EE jokes -
Enough of this topic[ Go to top ]
- Posted by: me havename
- Posted on: May 20 2004 18:23 EDT
- in response to YOYO XXX
Persistence has been beaten to death. What is this stupid fixation that TSS has with persistence? Almost every alternate article is on persistence. Is there no other problem to solve in the Java world?
The joke should be:
session bean says "Get lost, persistence. I've moved on. My new loves are transactions, remoting and security." -
Enough of this topic[ Go to top ]
- Posted by: Srikanth Shenoy
- Posted on: May 20 2004 19:29 EDT
- in response to me havename
Persistence has been beaten to death. What is this stupid fixation that TSS has with persistence? Almost every alternate article is on persistence. Is there no other problem to solve in the Java world?The joke should be:session bean says "Get lost, persistence. I've moved on. My new loves are transactions, remoting and security."
That's because the bottom line for all the new loves - transaction, remoting & security is SECURE AND INTEGRAL PERSISTENT DATAAAAA..................
Cool down. You know how humor is spelt - H U M O R (or sometimes HUMOUR). -
Tales From TSS: The Problems with EJB Persistence[ Go to top ]
- Posted by: srinivasan sundara rajan
- Posted on: May 21 2004 03:49 EDT
- in response to YOYO XXX
CMR fields are really complex enough to make any use of them. Session bean developers should make use of stored procedures to maximum extent to avoid coding db logic inside the bean. All major databases have equal features in stored procedure languages. Why not use them to maximum and keep your session bean code thin.
CMP hardly gives any value for all the complexities. Keep the BMP still for very special cases. Most situations session facade will prevail. -
Tales From TSS: The Problems with EJB Persistence[ Go to top ]
- Posted by: D S
- Posted on: May 21 2004 08:55 EDT
- in response to srinivasan sundara rajan
Keep the BMP still for very special cases.
I agree. Never allow your BMPs to move. Always keep them still.
Or is that "BMP still" as in "whisky still"? -
Tales From TSS: The Problems with EJB Persistence[ Go to top ]
- Posted by: Mark N
- Posted on: May 21 2004 09:10 EDT
- in response to D S
It seems like some people on this forum could do for some "stump juice" - https://www.theserverside.com/news/thread.tss?thread_id=26047#122973Keep the BMP still for very special cases.
I agree. Never allow your BMPs to move. Always keep them still.Or is that "BMP still" as in "whisky still"? -
Sorry to do this people[ Go to top ]
- Posted by: Narins Scott
- Posted on: May 22 2004 19:12 EDT
- in response to Mark N
If you are the same Mark who lived on Ealing Road circa 1994 I'd really like to contact you. -
Sorry to do this people[ Go to top ]
- Posted by: Mark N
- Posted on: May 24 2004 08:04 EDT
- in response to Narins Scott
If you are the same Mark who lived on Ealing Road circa 1994 I'd really like to contact you.
Wasn't me. Sorry. -
Tales From TSS: The Problems with EJB Persistence[ Go to top ]
- Posted by: Mark Woyna
- Posted on: May 24 2004 14:38 EDT
- in response to srinivasan sundara rajan
CMR fields are really complex enough to make any use of them. Session bean developers should make use of stored procedures to maximum extent to avoid coding db logic inside the bean. All major databases have equal features in stored procedure languages. Why not use them to maximum and keep your session bean code thin.CMP hardly gives any value for all the complexities. Keep the BMP still for very special cases. Most situations session facade will prevail.
Ummmm, because stored procedure code is not portable across RDBMSs? 'Kind of silly to develop an application using a platform neutral framework, and then code a significant amount of logic in a proprietary language. -
Tales From TSS: The Problems with EJB Persistence[ Go to top ]
- Posted by: Hakan Erdogan
- Posted on: April 21 2006 07:53 EDT
- in response to YOYO XXX
The best one of the cartoons, sweety beans :) -
I hate this kind of jokes.[ Go to top ]
- Posted by: Lisa Li
- Posted on: May 20 2004 17:47 EDT
- in response to Nate Borg
Don't do this anymore!!!! -
I agree[ Go to top ]
- Posted by: Wesley Hall
- Posted on: May 21 2004 10:43 EDT
- in response to Lisa Li
Don't do this anymore!!!!
I agree, I dont mind a cartoon if its actually funny (@see dilbert) but this latest serverside one just made me cringe, I mean "Do you remember me or are you stateless?"! WTF!?!?!
The "You are persistent!" just about passes as humour, as it is something you might actually hear uttered outside our geeky little world but everything else was just a search and replace job :o\ -
I don't[ Go to top ]
- Posted by: Phani Mantravadi
- Posted on: May 21 2004 14:13 EDT
- in response to Wesley Hall
I mean "Do you remember me or are you stateless?"! WTF!?!?!
Dude...Stateless session beans do not *remember* previous session data. Hope you got the joke atleast now. -
I don't[ Go to top ]
- Posted by: Wesley Hall
- Posted on: May 24 2004 07:05 EDT
- in response to Phani Mantravadi
Yes, believe it or not, I got the "Joke". It just wasnt funny at all.I mean "Do you remember me or are you stateless?"! WTF!?!?!
Dude...Stateless session beans do not *remember* previous session data. Hope you got the joke atleast now.
I appreciate humo(u)r is subjective but this just struck me as the kind of Joke a 5 year-old makes up, where the punch is so obvious and far removed from reality that its not longer 'clever'. I tend to find that as I get older I prefer my humour to be a little more subtle and sophisticated than this.
The "You are persistent" just about works as this is a phrase in the common parlance. However, rarely does someone comment on whether I am stateless or not, so its more of a 'single entendre'.
Still... if it was amusing for you, then great, but personally I just found it embarassing. -
I don't[ Go to top ]
- Posted by: Mark N
- Posted on: May 24 2004 08:09 EDT
- in response to Wesley Hall
Don't know about everyone else, but as I read this I heard the voice of Thurston Howell III reading it. :) -
W.T.F.[ Go to top ]
- Posted by: ross stanley
- Posted on: December 13 2004 12:09 EST
- in response to Phani Mantravadi
Hey, he got it okay, it's just that it's not funny.
Can someone please put an end to this column? -
Tales From TSS: The Problems with EJB Persistence[ Go to top ]
- Posted by: Wes Biggs
- Posted on: May 20 2004 18:01 EDT
- in response to Nate Borg
Shouldn't that be "Hey baby, do _you_ fancy being my facade layer?"
Next time I demand to see a message-driven bean. -
Tales From TSS: The Problems with EJB Persistence[ Go to top ]
- Posted by: Ruslan Zenin
- Posted on: May 21 2004 00:12 EDT
- in response to Nate Borg
Yeah!
Quite funny.
Shouldn't EJB3.0 drop/depricate entity beans and replace
persistence with JDO2?
It could be better, I think for the whole Java community.
And finally unify specs that on collision course -
Tales From TSS: The Problems with EJB Persistence[ Go to top ]
- Posted by: Par Eklund
- Posted on: May 21 2004 05:59 EDT
- in response to Nate Borg
-
Antipattern[ Go to top ]
- Posted by: Fabio Di Donato
- Posted on: May 21 2004 07:09 EDT
- in response to Par Eklund
Can we see when they get tightly coupled? -
Tales From TSS: The Problems with EJB Persistence[ Go to top ]
- Posted by: Michael Mahemoff
- Posted on: May 21 2004 18:38 EDT
- in response to Par Eklund
Where's my royalties...? https://theserverside.com/news/thread.tss?thread_id=10955#36779;)/Par
You'll just have to wave this in Floyd's face :-) -
C++, VB.NET, C#.Net[ Go to top ]
- Posted by: Anthony Berglas
- Posted on: May 22 2004 01:18 EDT
- in response to Nate Borg
Generics were good for C++, so they must be good for Java, right? Wrong! C++ does not have any run time type checking, so casting is essential, whereas Java does.
In the evil world of .Net, this is a good reason to use VB syntax rather than C# syntax -- the former allows sensible implicit casting, whereas the latter is Java. (VB.Net also allows keyword optional argumets, long overdue from Java. (Implemented properly to allow the default values to change.)) -
Tales From TSS: The Problems with EJB Persistence[ Go to top ]
- Posted by: brad leupen
- Posted on: May 22 2004 10:29 EDT
- in response to Nate Borg
in the end i see the spring mascot winning the day, having just offered to give the session bean a 'hot dependency injection'.
b