users@glassfish.java.net

Re: EJB3 Observer pattern

From: <glassfish_at_javadesktop.org>
Date: Sun, 24 Feb 2008 20:45:53 PST

Very good, that's great to hear you've got some solution that works for you.

As I'm sure you realized, a lot of these patterns are pretty simple to pull off. While we may look to things like the container to already handle these things for us, or something larger like JBI, may times just rolling out something quick and specific to the task is more than enough to get the job done and move forward.

The key is simply keeping the abstractions in mind and staying as close to them as practical. Later, even if the underlying technologies change, the abstractions very likely remain the same, so there's little conversion cost later if you do indeed come up with a new need or a better solution in the future.
[Message sent by forum member 'whartung' (whartung)]

http://forums.java.net/jive/thread.jspa?messageID=260657