Link Details

Link 57994 thumbnail
User 111696 avatar

By bloid
via adam-bien.com
Published: Dec 21 2007 / 17:02

The Fluent Interface Pattern is nothing else, but the revival of object oriented development. However if you mention "object orientation", you will get an answer "It's nothing new" and still see Getter/Setter programming style and anemic objects (actually structures) :-). However with Java EE 5 it is possible again to build object oriented systems internally and expose them as services to the outside world. Building good, fluent APIs requires you to understand the domain. So it is really hard to provide reasonable samples for "Fluent Interfaces".
  • 10
  • 1
  • 1242
  • 338

Comments

Add your comment
User 236137 avatar

dzonelurker replied ago:

0 votes Vote down Vote up Reply

"However with Java EE 5 it is possible again to build object oriented systems internally and expose them as services to the outside world."
Means, use Stateless Session Beans, avoid Entity Beans.

User 203084 avatar

abien replied ago:

0 votes Vote down Vote up Reply

Hi Dzonelurker,

not exactly, use Session Beans and JPA-Entities. Entity Beans are actually "deprecated" :-),

thanks,

adam

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (10)



Voters Against This Link (1)