Re: Enterprise using WO

"Mark F. Murphy" <[email protected]>
Newsgroups gmane.comp.web.webobjects.general
Message-ID <p06210201beb4f73b9731@[10.0.1.5]>
At 4:05 PM +0800 5/21/05, Ashley Aitken wrote:
>>2) The current and future EJB spec is going towards the POJO model 
>>based on Hibernate (at least Gavin King -Hibernate's father- is in 
>>the J2EE JCP). Maybe then I will use EJBs :-)
>
>Yes, that's true.  Finally, and probably as a result of the threat 
>from .Net, the folks directing J2EE are making some changes.

Well, I don't think it's quite like that.

Many people in the java space have not been happy with EJB 1.x and 
2.x.  Hence, that's why there was a JDO effort... and several other 
approaches (like Hibernate).  The open source community has reacted 
to the misguided EJB 1.x and 2.x specs.

>Although I wonder why (if) you really need per-user database 
>connections.  Of course, and as you suggest different instances 
>obviously use different connections.

Not on a per-user basis... but a pool, for sure, allows for 
scalability to reduce contention and blocking.

>>I can get developers with Hibernate knowledge in the market right now.
>
>That's true, although I would assume worthy developers would be able 
>to pick up EOF without much trouble (i.e. if they had a good 
>understanding of OO, O/R Mapping, SQL, frameworks, ...).

It's not so much someone couldn't learn it... but it's certainly nice 
to have people understand the tool instead of having to train them.

>However, the one thing about Hibernate that concerns me when 
>compared with EOF (or Cayenne in the future) is the lack of support 
>for client-side business objects in a thick client.

How many client side projects have you done with EOF?  Just asking.

We've done exactly one in all of our years of WO development (and 
it's in production).  We've also had to deal with the nasty 
JavaClient bug that existed until 5.2.4 just came out.

However, we've already given some thought on how we might be able to 
use hibernate in a JavaClient like way.

>So in short, when "we" move to thick clients on the Intranet (for 
>our n-tier enterprise Web application), solutions like EOF and 
>Cayenne would be most advantageous.  Again, someone please correct 
>me if Hibernate offers a good solution for client-side business 
>object in a thick client (besides a two-tier approach).  Or if there 
>are any other technologies / products that enable client-side 
>business objects.

I have no doubt that if the world starts to move towards a "thick 
client" world, the community will figure out a way to extend the EJB 
3 spec (i.e., Hibernate is an implementation of EJB 3) to accommodate.

mark

-- 
---------------------------------------------------------------------------
  Mark F. Murphy, Director Software Development   <mailto:[email protected]>
  Tyrell Software Corp                            <http://www.tyrell.com>
---------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.