Within minutes of my blog entry, I received the st...
BLOG-N-PLAY.COM
RIM may be acquired according to rumor. AMD says no action against it for anti-trust accusations. Oracle will continue buying spree. Cell phone celebrates its 25th anniversary. CBS throwing in
TOP THREE LINKS YOU MUST CLICK ON


Distributing Tasks in a Clustered Application Using JMS
Decoupling and delaying processing in a request-driven environment is one of the key strategies in creating a robust and scalable distributed application. Many services rely on clustering alone to ensure scalability, but they frequently run into trouble when newfound requirements keep application complexity growing.
Reader Feedback: Page 1 of 1

The source code for this article has been updated. You can access it by clicking on the source code link below the article.

John-Axel

I'm trying to find a download of sample code for this article but only found a SMALL link at the bottom of the article that is a link to a little snipet of code.

Is there a full blown example that accompanies this article? It is exactly what I've been looking for !!!

Thanks in advance.
mark

John:
A question related to the configuration database for WLI 8.1: I am looking for documentation on the sizing of the WLI Database, vs. the Application database. Do you have any information to help establish a baseline?

Meir,

You need to configure JMS queues and write an MDB that does the asynchronous processing. The framework will only work on an application running on WebLogic Server 6.1 or newer. Drop me an email if you need more specific instructions.

The link to the performance guide is missing a slash between products and wlserver, sorry about that.

John-Axel

1.try to press on:

http://dev2dev.bea.com/productswlserver/whitepapers/WL_JMS_Perform_GD.jsp
and no response !!!

2.what kind of weblogic software needed to install?

3.how do i use this code:

Listing 3: Framework sample usage

DistributedLogger logger =
new DistributedLogger();

String text =
"Hello asynchronous execution!"

logger.setText(text);
TaskDistributor.execute(
logger, //Command instance
1000, //delay
true, //runEverywhere
false, //persisted
false, //enableXA
4); //delay.

i mean from a "main" program that includes "weblogic" classes?

We're also using JMS for several asynchronous tasks, but never thought of using a generic command processor like this. Until now, we have used dedicated queues and MDBs for each task, but this is clearly a better and more manageable solution! Thanks!

Yes, all your CommandMessage classes need to be in the classpath of the server (or servers) that does the execution.

I assume each new type of CommandMessage, like the DistributedLogger, have to be in the Classpath of the Server. Otherwise, can the serialized objects method be executed?


FEATURED WHITE PAPERS
YOUR FEEDBACK
Andre Bro wrote: Good article. Couldn't find the listings though. Are they missing ?
Gans Subramaniam wrote: Interesting... Future certainly looks brighter for SaaS. The complexity of On-prem Enterprise Applications will kill itself. But pl note, the SaaS competitor table has wrong comparisons: JasperSoft is not a competitor for Hyperion, NetSuite is not a competitor for iFlex, SugarCRM is not a competit...
Java Consultant wrote: Interesting Post.... Thanks.....
Java Web Development wrote: Good Information........ Java Developer...
Java Web Development wrote: Great post base on new technologies... Java Programmers...
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS

SYS-CON FEATURED WHITEPAPERS

BREAKING NEWS FROM THE WIRES

Sun Microsystems, Inc. (NASDAQ:JAVA) today announced the new Sun SPARC(R) Enterpris...

Since its emergence, Web Service technology has gone a long way towards perfecting itself and findin...
Join Scott Guthrie as he discusses Microsoft’s commitment to web standards development, Rich Inter...
Virtualization has become a critical part of Enterprise IT strategy. Why and how has it become one o...
Watching VMware stock and its market cap spike since it IPO'd must have had Red Hat positively pea g...
A standard from OASIS called Web Services for Remote Portlets (WSRP) is used so portlets can be deco...
SYS-CON's upcoming '3rd International Virtualization Conference & Expo' faculty includes such distin...
From Application Virtualization to Xen, a round-up of the virtualization themes & topics being discu...
Red Hat announced that Cybercity has chosen to use the JBoss Enterprise SOA Platform for system inte...
Now, what Google announced is really exciting! I'm not kidding. It's even better than I hoped. Yes, ...
The mouse was the original idea of Doug Engelbart who was the head of the Augmentation Research Cent...
'Unlocking content to be remixed into new business value' is the driver of Web 2.0 in the enterprise...
Here is a question that I have been pondering on and off for quite a while: Why do 'cool kids' choos...
BEA Systems announced that it was selected by Computer Sciences Corporation (CSC) to join the soluti...
BEA Systems announced that Procter & Gamble implemented a service-oriented architecture (SOA) powere...
This session will provide attendees with an overview of the iPhone SDK, including discussion of the ...
For the past ten years application developers have been stuck with only two desktop client choices. ...
Acquia has yet to price its maintenance and support subscriptions - there should be a variety of SLA...
BEA announced the availability of BEA WebLogic Portal 10.2. This new release solidifies the mission-...
Doesn't Oracle have its own virtualization scheme? Isn't it Xen? Well, Oracle's soon-to-be takeover,...
I am always being told off by i-technologists for quoting Picasso as having said that computers are ...
ADS BY GOOGLE