672329 members! Sign up to stay informed.

Sponsored Links


Resources

Enterprise Java
Research Library

Get Java white papers, product information, case studies and webcasts

News News News Messages: 23 Messages: 23 Messages: 23 Printer friendly Printer friendly Printer friendly Post reply Post reply Post reply XML XML XML

Tales From TSS: The Problems with EJB Persistence

Posted by: Nitin Bharti on May 20, 2004 DIGG
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

Threaded replies

·  Tales From TSS: The Problems with EJB Persistence by Nitin Bharti on Thu May 20 11:35:41 EDT 2004
  ·  Tales From TSS: The Problems with EJB Persistence by Maris Orbidans on Thu May 20 14:33:44 EDT 2004
    ·  Enough of this topic by me havename on Thu May 20 18:23:14 EDT 2004
      ·  Enough of this topic by Srikanth Shenoy on Thu May 20 19:29:09 EDT 2004
    ·  Tales From TSS: The Problems with EJB Persistence by srinivasan sundara rajan on Fri May 21 03:49:56 EDT 2004
      ·  Tales From TSS: The Problems with EJB Persistence by D S on Fri May 21 08:55:56 EDT 2004
        ·  Tales From TSS: The Problems with EJB Persistence by Mark Nuttall on Fri May 21 09:10:31 EDT 2004
          ·  Sorry to do this people by Narins Scott on Sat May 22 19:12:47 EDT 2004
            ·  Sorry to do this people by Mark Nuttall on Mon May 24 08:04:27 EDT 2004
      ·  Tales From TSS: The Problems with EJB Persistence by Mark Woyna on Mon May 24 14:38:28 EDT 2004
    ·  Tales From TSS: The Problems with EJB Persistence by Hakan Erdogan on Fri Apr 21 07:53:42 EDT 2006
  ·  I hate this kind of jokes. by Lisa Li on Thu May 20 17:47:12 EDT 2004
    ·  I agree by Wesley Hall on Fri May 21 10:43:00 EDT 2004
      ·  I don't by Phani Mantravadi on Fri May 21 14:13:12 EDT 2004
        ·  I don't by Wesley Hall on Mon May 24 07:05:26 EDT 2004
          ·  I don't by Mark Nuttall on Mon May 24 08:09:16 EDT 2004
        ·  W.T.F. by ross stanley on Mon Dec 13 12:09:19 EST 2004
  ·  Tales From TSS: The Problems with EJB Persistence by Wes Biggs on Thu May 20 18:01:08 EDT 2004
  ·  Tales From TSS: The Problems with EJB Persistence by Ruslan Zenin on Fri May 21 00:12:47 EDT 2004
  ·  Tales From TSS: The Problems with EJB Persistence by Par Eklund on Fri May 21 05:59:34 EDT 2004
    ·  Antipattern by Fabio Di Donato on Fri May 21 07:09:35 EDT 2004
    ·  Tales From TSS: The Problems with EJB Persistence by Michael Mahemoff on Fri May 21 18:38:05 EDT 2004
  ·  C++, VB.NET, C#.Net by Anthony Berglas on Sat May 22 01:18:14 EDT 2004
  ·  Tales From TSS: The Problems with EJB Persistence by brad leupen on Sat May 22 10:29:04 EDT 2004
  Message #122954 Post reply Post reply Post reply Go to top Go to top Go to top

Tales From TSS: The Problems with EJB Persistence

Posted by: Maris Orbidans on May 20, 2004 in response to Message #122929
very funny :-)

this one reminds we that TSS thread about J2EE jokes

  Message #122973 Post reply Post reply Post reply Go to top Go to top Go to top

I hate this kind of jokes.

Posted by: Lisa Li on May 20, 2004 in response to Message #122929
Don't do this anymore!!!!

  Message #122975 Post reply Post reply Post reply Go to top Go to top Go to top

Tales From TSS: The Problems with EJB Persistence

Posted by: Wes Biggs on May 20, 2004 in response to Message #122929
Shouldn't that be "Hey baby, do _you_ fancy being my facade layer?"

Next time I demand to see a message-driven bean.

  Message #122978 Post reply Post reply Post reply Go to top Go to top Go to top

Enough of this topic

Posted by: me havename on May 20, 2004 in response to Message #122954
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."

  Message #122982 Post reply Post reply Post reply Go to top Go to top Go to top

Enough of this topic

Posted by: Srikanth Shenoy on May 20, 2004 in response to Message #122978
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).

  Message #123004 Post reply Post reply Post reply Go to top Go to top Go to top

Tales From TSS: The Problems with EJB Persistence

Posted by: Ruslan Zenin on May 21, 2004 in response to Message #122929
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

  Message #123015 Post reply Post reply Post reply Go to top Go to top Go to top

Tales From TSS: The Problems with EJB Persistence

Posted by: srinivasan sundara rajan on May 21, 2004 in response to Message #122954
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.

  Message #123027 Post reply Post reply Post reply Go to top Go to top Go to top

Tales From TSS: The Problems with EJB Persistence

Posted by: Par Eklund on May 21, 2004 in response to Message #122929
Where's my royalties...?

http://theserverside.com/news/thread.tss?thread_id=10955#36779

;)

/Par

  Message #123030 Post reply Post reply Post reply Go to top Go to top Go to top

Antipattern

Posted by: Fabio Di Donato on May 21, 2004 in response to Message #123027
Can we see when they get tightly coupled?

  Message #123036 Post reply Post reply Post reply Go to top Go to top Go to top

Tales From TSS: The Problems with EJB Persistence

Posted by: D S on May 21, 2004 in response to Message #123015
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"?

  Message #123042 Post reply Post reply Post reply Go to top Go to top Go to top

Tales From TSS: The Problems with EJB Persistence

Posted by: Mark Nuttall on May 21, 2004 in response to Message #123036
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"?
It seems like some people on this forum could do for some "stump juice" - http://www.theserverside.com/news/thread.tss?thread_id=26047#122973

  Message #123059 Post reply Post reply Post reply Go to top Go to top Go to top

I agree

Posted by: Wesley Hall on May 21, 2004 in response to Message #122973
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\

  Message #123083 Post reply Post reply Post reply Go to top Go to top Go to top

I don't

Posted by: Phani Mantravadi on May 21, 2004 in response to Message #123059
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.

  Message #123111 Post reply Post reply Post reply Go to top Go to top Go to top

Tales From TSS: The Problems with EJB Persistence

Posted by: Michael Mahemoff on May 21, 2004 in response to Message #123027
Where's my royalties...? http://theserverside.com/news/thread.tss?thread_id=10955#36779;)/Par
You'll just have to wave this in Floyd's face :-)

  Message #123125 Post reply Post reply Post reply Go to top Go to top Go to top

C++, VB.NET, C#.Net

Posted by: Anthony Berglas on May 22, 2004 in response to Message #122929
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.))

  Message #123144 Post reply Post reply Post reply Go to top Go to top Go to top

Tales From TSS: The Problems with EJB Persistence

Posted by: brad leupen on May 22, 2004 in response to Message #122929
in the end i see the spring mascot winning the day, having just offered to give the session bean a 'hot dependency injection'.

b

  Message #123156 Post reply Post reply Post reply Go to top Go to top Go to top

Sorry to do this people

Posted by: Narins Scott on May 22, 2004 in response to Message #123042
If you are the same Mark who lived on Ealing Road circa 1994 I'd really like to contact you.

  Message #123206 Post reply Post reply Post reply Go to top Go to top Go to top

I don't

Posted by: Wesley Hall on May 24, 2004 in response to Message #123083
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.
Yes, believe it or not, I got the "Joke". It just wasnt funny at all.

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.

  Message #123210 Post reply Post reply Post reply Go to top Go to top Go to top

Sorry to do this people

Posted by: Mark Nuttall on May 24, 2004 in response to Message #123156
If you are the same Mark who lived on Ealing Road circa 1994 I'd really like to contact you.
Wasn't me. Sorry.

  Message #123211 Post reply Post reply Post reply Go to top Go to top Go to top

I don't

Posted by: Mark Nuttall on May 24, 2004 in response to Message #123206
Don't know about everyone else, but as I read this I heard the voice of Thurston Howell III reading it. :)

  Message #123265 Post reply Post reply Post reply Go to top Go to top Go to top

Tales From TSS: The Problems with EJB Persistence

Posted by: Mark Woyna on May 24, 2004 in response to Message #123015
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.

  Message #149245 Post reply Post reply Post reply Go to top Go to top Go to top

W.T.F.

Posted by: ross stanley on December 13, 2004 in response to Message #123083
Hey, he got it okay, it's just that it's not funny.

Can someone please put an end to this column?

  Message #206672 Post reply Post reply Post reply Go to top Go to top Go to top

Tales From TSS: The Problems with EJB Persistence

Posted by: Hakan Erdogan on April 21, 2006 in response to Message #122954
The best one of the cartoons, sweety beans :)

Recent active threads Recent active threads Recent active threads More More More
Oracle's Bold Plans for Java Bode Well
typo in faces-config to-view-id extension, but works fine?
BUY FAKE PASSPORTS OF CANADA, FAKE CANADIAN PASSPORTS FOR SALE/FAKE PASSPORTS OF USA!
BUY FAKE PASSPORTS OF UNITED KINGDOM,FAKE UK PASSPORTS FOR SALE!
BUY FAKE PASSPORTS OF CANADA, FAKE CANADIAN PASSPORTS FOR SALE!
BUY FAKE PASSPORTS OF BELGIAN,FAKE BELGIUM PASSPORTS FOR SALE!
BUY FAKE PASSPORTS OF AUSTRALIA/FAKE AUSTRALIAN PASSPORTS FOR SALE!
Milton 1.5.1 released
Pondering About JSR-315, the New Servlet 3.0 Specification
More active threads »
Top posters of the weekTop posters of the weekTop posters of the week
This list contains the members who have made the most posts in all forums over the last 7 days:
  1. Reza Rahman
  2. James Watson
  3. brad mcevoy
  4. Alex Besogonov
  5. Peter Monks
Hot threads Hot threads Hot threads More hot threads More hot threads More hot threads

Object pooling is now a serious performance loss

Brian Goetz continues to lift the lid and peak into the inner workings of Java in Java Urban Performance Legends. In this article he exposes the fallacy behind some of the more common performance myths found in the annals of the JVM.
(92 comments, last posted March 14, 2008)

Beyond Java

Bruce Tate, author of Better, Faster Lighter Java and Bitter EJB has come out with a new book called Beyond Java. Bruce has an epiphany about the future of software development. Does it include Java?
(770 comments, last posted September 23, 2009)

Three forms of AJAX: solid, liquid and gas.

Looks like today AJAX concept have several interpretations. We can distinguish different approaches of AJAX integration. Can they co-exist within the same application? Can we talk about layered AJAX integration?
(68 comments, last posted May 08, 2008)

Design-Time API Promises to make Java more like VB

Artima has published a short article describing the Design-Time API for JavaBeans, which was recently approved as JSR 273. This API promises to bring VB-like ease to Java development, but may face a cultural bias among Java developers who tend to think more in terms of class libraries than components.
(226 comments, last posted February 01, 2010)

Will Sun be that target of a management buyout?

There is plenty of speculation today regarding a potential buyout of Sun Microsystems by Scott McNealy and Silver Lake Partners. How would privatization of Sun affect Java?
(16 comments, last posted May 15, 2009)
More hot threads »

News | Blogs | Discussions | Tech talks | Patterns | Reviews | White Papers | Downloads | Articles | Media kit | About
Java Solutions
All Content Copyright ©2007 TheServerSide Privacy Policy      Powered by JIVE
Site Map