tag:blogger.com,1999:blog-6425222933030704299.post4217727043028460139..comments2010-08-26T23:00:34.334-07:00Comments on Build Without Boundaries: Searching for more Fluent API patterns for JavaUnknownnoreply@blogger.comBlogger3125tag:blogger.com,1999:blog-6425222933030704299.post-26998498310096141212008-01-14T03:10:00.000-08:002008-01-14T03:10:00.000-08:00Hi Steve,I suggest that you take a look in Martin ...Hi Steve,<BR/><BR/>I suggest that you take a look in Martin Fowler's research about DSLs. The address is: http://martinfowler.com/dslwip/<BR/><BR/>Take a closer look at the internal DSL section: http://martinfowler.com/dslwip/InternalOverview.html<BR/><BR/>Regards,<BR/>GuilhermeAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6425222933030704299.post-20392083698483515292008-01-12T19:13:00.000-08:002008-01-12T19:13:00.000-08:00Good point, Stephan. I also use static imports he...Good point, Stephan. I also use static imports heavily when using Fluent APIs. Without this Java 5 feature, it would be significantly more difficult to create code that resembles natural language sentences.Steve Asherhttps://www.blogger.com/profile/11296699170229453989noreply@blogger.comtag:blogger.com,1999:blog-6425222933030704299.post-62928874745029165762008-01-12T10:11:00.000-08:002008-01-12T10:11:00.000-08:00People use static imports in Java for fluent inter...People use static imports in Java for fluent interfaces.<BR/><BR/>Like times(5).withPerson(person).delete()<BR/><BR/>the times() method call being a static import.<BR/><BR/>I'm very interested in that topic, other posts about fluent interfaces I've written are about a fluent interface to Google collections or automatically create a fluent implementation for an interface.<BR/><BR/>http://stephan.reposita.org/archives/2007/10/17/creating-a-fluent-interface-for-google-collections/ <BR/><BR/>http://stephan.reposita.org/archives/2007/10/10/fluent-interface-and-reflection-for-object-building-in-java/<BR/><BR/>Peace<BR/>-stephan<BR/><BR/><BR/>-- <BR/>Stephan Schmidt :: stephan@reposita.org<BR/>Reposita Open Source - Monitor your software development<BR/>http://www.reposita.org <BR/>Blog at http://stephan.reposita.org - No signal. No noise.Stephan.Schmidthttps://www.blogger.com/profile/03845125686370893937noreply@blogger.com