ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Implimenting J2ee in MB design decision

Post new topic  Reply to topic
 Implimenting J2ee in MB design decision « View previous topic :: View next topic » 
Author Message
Vijay_d
PostPosted: Thu Jun 26, 2008 8:48 am    Post subject: Implimenting J2ee in MB design decision Reply with quote

Apprentice

Joined: 09 Oct 2006
Posts: 26
Location: LONDON

Hi ,

Please comment your experience on using J2EE architecture in MBv6.0.0.7 using java node.

Say i have an a very complex back end database (ora -10g) with so many business rules on it.

I have an front end application which will interact with the database over webservices not thr JDBC/ODBC.

wat would be ur suggestion

1) MB broker host a service - where the message is got from the front end does the trasformation and route it to a q . The databsae acess layer is covered by a J2ee application and uses MDB to listen to q.

or

2) MB hosting the service - does the trasnformation and also MB acting as a database acess layer using java compute node ( where the complex java classes does the complex business logic)


Comment on the performance and also let me know ur suggestions. use of message broker is must and also it has to be a webservice call from front end. So kindly let me know ur thoughts with this in consideration.


Note: - I have no knowledge on java and how its powerfull with MB
we use message broker as there are other orchestration to be done other than hosting a service

Thanks
Vj
Back to top
View user's profile Send private message
vsr
PostPosted: Thu Jun 26, 2008 9:08 am    Post subject: Reply with quote

Centurion

Joined: 04 Apr 2006
Posts: 104

As WMB is a tranformation engine keeping the business logic as less as possible would be a prefered method. If you have complex business logic and if your architecture allows you write a MDB, then I would prefer that method. In that way you can minimize database interactions and complex business logic in the broker.

We had a same situation here and we decided to use MDBs to achive this functionality as using broker flows involves complex business logic and log of i/o process. And it was proved a good decision later in several ways.
Back to top
View user's profile Send private message
Vijay_d
PostPosted: Thu Jun 26, 2008 9:27 am    Post subject: Reply with quote

Apprentice

Joined: 09 Oct 2006
Posts: 26
Location: LONDON

Thanks VSR

Ya i def go with you. But do u think using Java will be good replacement for it.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jun 26, 2008 9:35 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If there's nothing currently developed and deployed in J2EE, then I would use native broker database access methods (JDBC and ODBC) and NOT do the database calls in a JCN. Unless somehow the database is not accessible from Broker ODBC/JDBC native support.

And I wouldn't bother with J2EE/JEE data calls and MDBs at all, unless they were going to be called from things that are not Broker.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Vijay_d
PostPosted: Thu Jun 26, 2008 11:10 am    Post subject: Reply with quote

Apprentice

Joined: 09 Oct 2006
Posts: 26
Location: LONDON

Hi Jef , Thanks for the response.

yes nothign have yet been developed. But when u say native acess methods..did u mean doing complex business logic using ESQL. can ESQL be expandable as Java?? ....

Say to create a record in a table .. there may be some pre-validation and dependency from other tables.( so many)

Can ESQL do all functions which Java is capable of..

note: i am not a java resource but ppl claim java does everything which esql doesnt
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jun 26, 2008 11:16 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

ESQL is Turing complete.

Java has more connectivity "natively" than ESQL - files, network sockets, etc.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jun 26, 2008 11:19 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

The advantage of fronting your DB with an application (.NET, J2EE etc) lies in the independence of scalability.

The scalability of the DB no longer mandates the scalability of the flow, but depends on the scalability of the fronting app.

In short you may have only 5 flow instances but 20 front end instances. It all comes back to SLA.

Depends as well whether you use the request/reply pattern or the request/aggregation pattern...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Implimenting J2ee in MB design decision
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.