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 » Java vs esql

Post new topic  Reply to topic Goto page Previous  1, 2
 Java vs esql « View previous topic :: View next topic » 
Author Message
er_pankajgupta84
PostPosted: Fri Dec 09, 2011 8:59 am    Post subject: Adding on to java favour Reply with quote

Master

Joined: 14 Nov 2008
Posts: 203
Location: charlotte,NC, USA

1. Java could be faster to process XML thru the use of XPATH.
2. Java can connect to almost all the DB.
3. You can use tools like FIndbug, PMD etc to do a code review of the java code so this might help in removing human generated error.
4. Java files (Jar) can be deployed separately from flow (I think in version 8 they have facility to deploy esql separately).
5. Dynamic loading of class. Effective and efficient use of it may turn your broker into process server (doing orchestration ).
6. Frequent updation to java langauge (adding new construct).

People do see memory issues with java but those are bugs in the code. I agree that with esql that risk is lesser. A good programmer can easily overcome those issues.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Vitor
PostPosted: Fri Dec 09, 2011 9:34 am    Post subject: Re: Adding on to java favour Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

er_pankajgupta84 wrote:
1. Java could be faster to process XML thru the use of XPATH.


XPath against the ESQL message tree? Cite your source!

er_pankajgupta84 wrote:
2. Java can connect to almost all the DB.


Which DB can you get to with a JDBC that you can't with an ODBC.

er_pankajgupta84 wrote:
3. You can use tools like FIndbug, PMD etc to do a code review of the java code so this might help in removing human generated error.


Granted. But in my day we did that with a thing called "testing".

er_pankajgupta84 wrote:
4. Java files (Jar) can be deployed separately from flow (I think in version 8 they have facility to deploy esql separately).


AFAIK it's sub flows that can now be deployed separately. I'd also not be too quick to put the ability to just deploy jar files as a plus from a control perspective.

er_pankajgupta84 wrote:
5. Dynamic loading of class. Effective and efficient use of it may turn your broker into process server (doing orchestration ).


There's no way this is an advantage. Even if you could do this "effeectively and efficiently" WMB is not process server any more than it's app server. Just because you can bend a tool successfully into a shape it's not designed for doesn't mean it won't break later.

er_pankajgupta84 wrote:
6. Frequent updation to java langauge (adding new construct).


How many of these are valid in a broker environment? Unless you're turning it into WPS?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Dec 09, 2011 9:37 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

What was the purpose of reopeneing a thread that was more than 3 years old?

It is generally considered best practice to start a new thread and reference any old ones that may contain relevant information.

On the day that Broker 8 is available for download I'd be more inclined to open a new thread to debate the relative merits of coding broker flows using ESQL vs Java vs PHP vs .Net.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Dec 09, 2011 9:41 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

smdavies99 wrote:
What was the purpose of reopeneing a thread that was more than 3 years old?


I wondered about that, but it is more or less relevant to the original discussion even if the points in the orginal thread are a few versions out of date.

And I couldn't let WMB = WPS go unchallenged!

smdavies99 wrote:
On the day that Broker 8 is available for download I'd be more inclined to open a new thread to debate the relative merits of coding broker flows using ESQL vs Java vs PHP vs .Net.



_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Dec 09, 2011 9:45 am    Post subject: Re: Adding on to java favour Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Vitor wrote:
er_pankajgupta84 wrote:
1. Java could be faster to process XML thru the use of XPATH.


XPath against the ESQL message tree? Cite your source!


Aside from that, a bad XPATH expression will ruin performance and potentially hog memory much faster and much worse than a bad ESQL expression.
Back to top
View user's profile Send private message
inMo
PostPosted: Fri Dec 09, 2011 10:07 am    Post subject: Reply with quote

Master

Joined: 27 Jun 2009
Posts: 216
Location: NY

Quote:
... I believe that they made this decision because they could not find enough message broker developers, so they converted a bunch of java coders into message broker developers ...


The real question here is weather or not it is worth leveraging experienced WMB professionals. Knowing, or at least having an idea of strengths, capabilities, weaknesses and pitfalls of various approaches may be of value.

IMHO, a great starting question is why did the company invest in WMB? Were they actually looking for a Java Application Server and ended up with WMB by mistake? (a Java Application Server is effectively what you get with a flow model of Input->JCN->Output, and that flow model is predictable based on the stated qualifications of your team)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Java vs esql
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.