633247 members! Sign up to stay informed.
Enterprise Java Patterns Enterprise Java Patterns Enterprise Java Patterns Post a pattern Post a pattern Post a pattern More patterns More patterns More patterns Active Threads Active Threads Active Threads

asdsad

Posted by: Szr szr on July 24, 2008    0 comments    last post: July 24, 2008
Müzik
muzik

Message Access Object (MAO)

Posted by: guddu sk on June 01, 2008    2 comments    last post: July 24, 2008
1. Hiding message access from client side code
2. Handling JMS related exception handling.

Sponsored Links


Resources

Enterprise Java
Research Library

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

Building an application by assembling Replaceable Components

Posted by: Raju Chiluvuri on May 25, 2008    1 comment    last post: July 24, 2008
This pattern shows a process for building Replaceable Components and assembling them to build larger and larger Replaceable Components and finally an application (e.g. RIA). Each Replaceable component is designed for easy disassembling for example to redesign its code free from rest of the code base of the application and test it before reassembling it.

Session management shift pattern in RIA

Posted by: Ganesh S on April 27, 2008    2 comments    last post: July 24, 2008
In Short: User Session belongs to a browser instances, keep it where it belongs

Problem: The problems in having server side session are provided below:
1.Hit on server scalability; even if we keep only minimum data in session (based on users)
2.The performance impact of round-trips of passing the session data to browser
3. Cookie has size restrictions

Overriding internet data during testing

Posted by: Oded Peer on March 27, 2008    1 comment    last post: July 24, 2008
Many times during testing there is a need to override interent data (IP, cookies, HTTP headers) to simulate different use cases.
This pattern describes how to override internet data for testing without the usual testing-specific clutter in the code.

Applying database access control by wrapping the EntityManager

Posted by: Peter Salomonsen on February 25, 2008    1 comment    last post: July 24, 2008
In my JEE5 apps, I use 3rd party ejb3 modules that don't know anything about my applications rules and database access control constraints. Normally I would have to modify the module's source in order to weave it properly into my application, but this gives me quite a job each time I want to upgrade the component, so I have to find a better way.

MTOM vs SWA vs Base64Binary

Posted by: Mamoon Yunus on December 18, 2007    2 comments    last post: July 24, 2008
Transmitting complex data such as X-Rays, MRI Scans, Blueprints electronically has significant cost and time advantages over paper-based processes. MTOM, SwA and Base64Binary encoding offer green-friendly methods for eliminating paper-based processes through web services-based attachment transmission.

Multi-dimensional weaving with Azuki framework

Posted by: Robert Bakic on December 07, 2007    1 comment    last post: July 24, 2008
Multi-dimensional weaving refers to the variety of assembly methods used in Azuki for inter-bean communications.

Chain of Responsibility

Posted by: Naim Imami on November 10, 2007    1 comment    last post: July 24, 2008
Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. Chain the receiving objects and pass the request along the chain until an object handles it.

Employing SoA for coupling components/mashups in RIA

Posted by: Raju Chiluvuri on November 05, 2007    1 comment    last post: July 24, 2008
This pattern outlines a different kind of ‘Service Oriented Architecture’ (SoA), which facilitates coupling of ‘loosely coupled’ components (e.g. mashups or widgets) in the webpage (or in RIA – Rich Internet Application). Where the mashups could be large GUI components, which may be fetched from disparate web-servers and incorporated into the RIA.

Implicitly Context Object: A Context Object variation

Posted by: unmesh joshi on October 11, 2007    2 comments    last post: July 24, 2008
Passing request context around as method parameters might be awkward sometimes in java web applications. Using ThreadLocals we can very conviniently keep the context around and get it where ever we need without making it appear in method signature.

Create Web services in two clicks thanks to Apache CXF and AOP

Posted by: Robert Bakic on October 10, 2007    1 comment    last post: July 24, 2008
This brief article shows the power of the Aspect-Oriented Programming (AOP) through a simple example, where Web Services are created ex nihilo without adding a single line in the code of your Java application.



More patterns »
J2EE PatternsJ2EE PatternsJ2EE Patterns
Patterns

We are proud to provide this patterns/strategies repository to the community. Feel free to post any useful design tips you know!

EJB Design Patterns PDFEJB Design Patterns PDFEJB Design Patterns PDF

EJB Design Patterns is now available for free download in PDF format. The book contains a catalog of twenty advanced EJB patterns and provides strategies for mapping application requirements to patterns-driven design, J2EE development best practices, and more. EJB Design Patterns was the #2 book at Java One 2002, and held the #1 Java book position on Amazon.com for weeks since the book was released in March. Download your PDF here.
Useful patterns around the webUseful patterns around the webUseful patterns around the web
Patterns

EntityBeansAsDomainObjects

This essential pattern describes how to model your entity beans.

The Aggregate Entity pattern

How to make an entity bean a facade to a set of dependent objects.

EJB Unit Testing Strategies

Every guru should use unit testing.

Other Patterns sitesOther Patterns sitesOther Patterns sites

Portland Patterns Repository

The original reference site for patterns. Frequented by the gang of 4 and their mentors (Kent Beck, Ward Cunningham).

Sun Java Center Patterns

A catalogue of J2EE design patterns from Suns Consulting Division.

IBM Patterns for e-Business

A catalogue of high level business, architectural and topological patterns for large scale systems.

J2EE Blueprints Patterns

Design Patterns from the J2EE Blueprints, Suns authoritative guide to J2EE development.


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