Multiple BlazeDS Web Modules in the same EAR


hi,

i have requirement i'm running multiple blazeds modules in same ear file. flex libraries (flex-messaging-*.jar) packaged under ear/earcontent/lib , shared both messagebroker in module 1 , 2.

project structure this:

- ear
- web module 1
- web module 2
- jar module (business logic common both modules)

i need send messages destinations either web module 1 or web module 2 jar module , why need libraries in same place.

now, problem many features in blazeds singletons (i.e logging) , whenever web module 1 logs console, web module 2 same thing!! sure there's other stuff happens in bg can't figure out seems bad!

now, there way solve this? or there way of being able send messages both web modules jar module without sharing libraries?

thank help!

what stops having 2 sets of blazeds libraries, 1 in each webapp ?
each webapp have it's own classloader no more problems singletons.
and way, reason of having 2 webapps ?


More discussions in General Discussion


adobe

Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code