that does seem like major overkill. all i really need is something
like a thread safe singleton class that can run inside of a JEE app
server or something like that. i don't really need to try to
integrate a whole new framework in this thing.
ive found code that show how to write a thread safe singleton, but all
the comments on examples i have seen say they work great except in an
app server, all the examples are like this
if (instance_ == null) {
synchronized(syncObject_) {
if (instance_ == null) {
instance_ = new myclass();
}
}
}
return instance_;
would that work inside an app server?
On Mar 29, 12:43 pm, Wayne Fay <[email protected]> wrote:
> > Its a middleware application. basically its an HTTP servlet that
> > accepts an XML document from a client and process it. its deployed as
> > a war file on jboss 5.1
>
> Perhaps total overkill... but have you considered Mule, OpenESB, WSO2
> etc? What you describe is basically their bread and butter, including
> the routing, transaction auditing, etc.
>
> Wayne
--
You received this message because you are subscribed to the Google Groups "The
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/javaposse?hl=en.