↓ Skip to main content

WebSphere Application Server

WebSphere User Group meeting

I headed down to Bedfont early this morning for the WebSphere User Group meeting. Such is the traffic on the M3 that I missed the start but arrived in time for Jim Caldwell’s keynote presentation. Jim is the IBM Director of WebSphere Application Infrastructure and had some interesting things to say about many parts of the portfolio from WAS CE to WebSphere XD. Two products were mentioned that I’ve never really paid much attention to in the past. WebSphere Real Time is a Java environment for real-time applications, providing for sub-second response times free from the usual vagaries of garbage collection. Meanwhile, WebSphere Remote Server is targetted at the retail market, providing a J2EE runtime for the store with remote management capabilities.

More from developerWorks

I’ve been catching up on some of the developerWorks articles published in the past week and here are a selection of the best. First up is an up-date to the top Java EE best practices. As the article states, it’s amazing how many customers still aren’t following these simple steps. On the WebSphere ESB front we have the third part in Rachel and Andre’s series on Building an Enterprise Service Bus using WebSphere ESB. This looks at using SOAP/HTTP bindings, property promotion and administrative modification of endpoint addresses. Greg Flurry goes one step further in his article, covering the new dynamic endpoint capability in WebSphere ESB V6.0.2 including the use of the endpoint lookup primitive in combination with WebSphere Service Registry and Repository. This leads me on nicely to a new series which looks at the use of generic objects in Service Registry to group related documents.

Service Integration Bus Performance

·1 min
Another great tool for those working with the Service Integration Bus is now available on alphaWorks. The Service Integration Bus Performance tool (written by David Granshaw who leads the Service Integration Bus Performance team in Hursley) provides an SWT front-end to all of the WebSphere Application Server PMI statistics that are relevant to messaging performance. When you start the tool and point it at a server and messaging engine, it selects a useful set of default statistics. You can then use the configuration menu to select additional statistics with an indication given of the level of performance impact of doing so. Best of all (at least for someone as forgetful as me) is that when you close the tool it turns off the PMI stats before shutting down.

Direct JNDI lookup warnings

·2 mins
I was browsing through the fix list for Version 6.1 of the Application Server and was interested to note that APAR PK32169 is removing the J2CA0294W warning messaging (unless you have debug trace turned on) in Fix Pack 5. This is the warning that you see when performing a direct JNDI lookup of a connection factory i.e. you go straight to the global namespace rather than using a resource-reference and the application’s local namespace (java:comp/env). This message has always been rather contentious as it asserted that direct JNDI lookups were being deprecated yet various parts of the product still continued to use them. There was even a technote describing how to suppress the warnings as, in some cases, they were causing significant performance degradation.

MDB reconnection

·2 mins
The asynchronous nature of message-driven beans means that the JMS provider must be permanently connected to the messaging system in order to know when a message is available for delivery. I received a question last week as to what WebSphere Application Server’s behaviour is when that connection is broken.

WebSphere Application Server V6.1 security

·1 min
Two words you don’t often see in the same sentence: simplicity and security. Peter Birk and Keys Botzum have written an in-depth article covering the enhancements to the SSL, certificate, and key management, capabilities for WebSphere Application Server in Version 6.1.

Exploring Web services

Rational Application Developer and WebSphere Integration Developer both come with a piece of functionality known as the Web Services Explorer. Part of the unit test client, this provides a user interface for invoking WSDL defined Web services. Until now, I’ve always used the Explorer by right-clicking on a piece of WSDL and selecting Web Services > Test with Web Services Explorer. This is all very well if the WSDL happens to be in your workspace. What I hadn’t realised until this week is that you can also use the Explorer with any arbitrary URL addressable WSDL.

JMS Application Server Facilities

·1 min
On the basis of a thread of notes I was involved in this week, I was considering a post on the WebSphere Application Server support for JMS providers that don’t implement the Application Server Facilities (ASF) part of the JMS specification. As the name suggests, these facilities cover aspects of integration between a JMS provider and a J2EE application server such as transactionality and message-driven bean support. Paul Titheridge (who works in the service team covering the WebSphere MQ and WebSphere Application Server JMS providers) has done the hard work for me and written a developerWorks article on the subject.

Feature Pack for Web services podcast

·1 min
In a previous posting I covered the Feature Pack for Web services. This week’s developerWorks Making SOA real with WebSphere podcast includes an interesting interview with Nathan Goike on this subject. Points of particular interest to me was the inclusion of Apache Axis2 and the use of policy sets to ease Web service configuration.

Security presentations

·1 min
Keys Botzum has provided updates to his security hardening and programming presentations, written in combination with my UK colleagues Cameron Martin and Peter Kovari, to cover Version 6.0 and 6.1 of WebSphere Application Server.

WS-Notification

·1 min
Ben Bakowski, Chris Whyley and Matt Roberts have written a nice developerWorks article introducing WS-Notification in WebSphere Application Server Version 6.1. For once I’ve actually sat down myself and worked my way through it so I know it’s good! It illustrates the use of a publisher, asynchronous consumer and pull point for lightweight consumers, along with mixing WS-Notification and JMS. One thing to watch out for though: the authors have chosen to use scripting for the setup and pre-written applications which, although providing useful examples, means it’s easy to get to the end of the article without knowing what you’ve done if you don’t take the time to look at the content of the scripts and code.

Messaging engine data sources

·1 min
I’ve had a couple of queries in the past week about whether or not service integration bus messaging engines using a database for the message store need an XA capable JDBC data source. Thanks to Gareth Bottomley in the development team for locating the appropriate section hidden away in the InfoCenter that indicates you should configure a Connection pool data source i.e. non-XA capable. The messaging engine does not use the XA capabilities of the database, instead acting as a resource manager in its own right. So, for example, when you receive a message under a global transaction it is not deleted from the data base at that point under a JDBC transaction. Instead, it is non-transactionally marked with the Xid of the global transaction so that it is not received by other consumers and then, only when the transaction is commited, is the record removed. This is particularly important to note when using Oracle as the database as the Oracle XA driver has notoriously poor performance.

Presentation and dinner

Many of the presentations at the conference are repeats from our internal services conference earlier this year which means I have some spare time to catch up on other work. One session I did go to today was Eric Herness (Chief Architect for WebSphere Business Integration) presenting the new content in Version 6.0.2 of WebSphere Process Service and ESB. I think it’s safe to say this is a refresh pack with more than a few functional enhancements!

Authentication aliases

·3 mins
I had a couple of questions last week relating to authentication aliases. When using WebSphere Application Server resources built on the JCA support, including JDBC data sources and JMS connection factories, there are a number of different mechanisms for specifying security credentials.

J2EE newbies

·1 min
Whilst the majority of the customers I deal with are well versed in the ways of WebSphere, just occasionally I come across one that is not only new to WebSphere but also to the world of J2EE. In the past I have struggled to suggest suitable reading material, often resorting to the Sun J2EE tutorial as a starting point. Now Charlie Brown (who, as he hastens to point out, does have a beagle but not called Snoopy) has written an excellent introduction to J2EE the WebSphere way entitled “Experience J2EE! Using WebSphere Application Server V6.1”. It’s currently only a draft but, having taken a look at the messaging section, it’s well written and informative. There is even a chapter covering the, to my mind, advanced topic of importing a subject on to a message-driven bean’s thread using the credentials passed in a message. Be sure to rate the book so that we can ensure that Charlie’s good work can continue.

developerWorks roundup

This is my usual weekly roundup of what’s new and interesting on developerWorks. This week we start with something for the WebSphere Application Server developer. When abstracting configuration properties out of code they often end up in a simple properties file. This is fine if the values are static but, if they need updating, you either need to redeploy the application containing the file or else put the file somewhere separate from the application. (If taking the latter approach then the config directory is a good place for the file as then you call leave the application server to replicate it across the nodes.) Perhaps a better approach is to configure a resource environment provider as described in this article, enabling properties to be defined administratively.

High availability of WebSphere MQ link

Today sees the release of WebSphere MQ SupportPac MR01. This provides the source for a WebSphere MQ channel exit which can be configured with a list of host names and port numbers to which the channel will attempt to connect. The intention is that this exit can be used when using a WebSphere MQ link to connect a clustered Service Integration Bus messaging engine to a queue manager. The messaging engine can now failover to another cluster member and the queue manager will still be able to connect.

WebSphere Application Server command framework

·1 min
Admin commands and task commands have done much to reduce the complexity of scripting WebSphere Application Server in recent releases, effectively bringing the simplicity of administrative console panels and wizards to the command line. If you find yourself repeating the same administrative actions, this developerWorks article covers in depth how to go about writing your own commands.

WebSphere ESB vs SIBus

Rachel Reinitz and Andre Tost have kicked off a new developerWorks series on WebSphere ESB with an article describing the relationship between the product and the Service Integration Bus. In my mind, it’s a shame the article doesn’t talk more about about the SIBus Web services support. The following phrase sums up the key difference: “WebSphere ESB is built with the strategic SCA/SDO programming model”.