Home | Click here to send an email to the editor of this weblog. Updated: 8/2/2003; 11:07:16 AM. 

  Synthetic Morpheme
Christopher Taylor's editorials on Science, Technology, Salsa dancing and more

daily link  Friday, July 11, 2003

EJB 2.0 introduces the local bean framework which is a nice way to model a relational database in objects. Local CMP (Container Managed Persistence) is even nicer for most applications. However, though this layer makes it easy to manipulate data in a database, it doesn't do a good job of making that data available to remote clients. Surprisingly, this is one of the problems that EJB was originally designed to deal with. There are a number of solutions to this remote interface problem, but one of the most common and the one I use in all of my development is the Session Facade pattern [Rules and Patterns for Session Facades].

Session Facade offers a number of nice features. For one, it is generally implemented as a stateless interface which greatly reduces the complexity of the server. Secondly, it allows business logic and other constraints to be maintained in the facade layer, insulating the data from unauthorized or undesirable access. Third, Session Facade provides the developer with fine grained control over the precise interface that is made available to the client. 9:35:12 AM  permalink  comment []  


 
July 2003
Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Jun   Aug

PicoSearch

A segment of a 360 degree panaoramic shot from the top of Everest

Merriam-Webster Dictionary

Click to see the XML version of this web page.

Click here to visit the Radio UserLand website.


Copyright 2003 © Christopher Taylor. Click here to send an email to the editor of this weblog.
This work is licensed under a Creative Commons License
Last update: 8/2/2003; 11:07:16 AM.