Monday, March 31, 2008

Books for JMS

Enterprise Messaging Using JMS and IBM(R) WebSphere(R) (IBM Press Book) (Paperback)
  • Paperback: 352 pages
  • Publisher: IBM Press (February 25, 2004)
  • Language: English
  • ISBN-10: 0131468634
  • ISBN-13: 978-0131468634
Editorial Reviews

This book offers start-to-finish guidance for building reliable, high-performance JMS-based messaging infrastructure with IBM WebSphere technologies.

IBM expert Kareem Yusuf systematically introduces the latest versions of JMS—both 1.1 and 1.02b. Once you've thoroughly mastered JMS development on any platform, Yusuf turns to the exceptional JMS support found in IBM's WebSphere products. Using extensive code examples, he walks you step-by-step through WebSphere JMS development, configuration, deployment, and administration in several real-world scenarios.

Coverage includes:
  • Roles and goals of messaging infrastructure in the enterprise
  • Key JMS concepts: messaging domains, messages, and Application Server Facilities
  • Defining/structuring content, choosing message types, and manipulating messages
  • The JMS API, explained through detailed code examples
  • Using JMS with EJB, message-driven beans, servlets, and portlets
  • Working with IBM WebSphere JMS providers, administered objects, and tools
  • Hands-on tutorials: EJB message exchange, integration with non-JMS applications, and SSL security
  • Resource location and physical topologies for maximizing availability and efficiency

Whether you're developing enterprise messaging infrastructure, architecting it, or managing it, this bookdelivers indispensable guidance-straight from the frontlines.

HTTP Request Headers

An add-on called Tamper Data on Firefox can add and modify HTTP request headers. It can even read input from a text file. This feature makes it very useful because you can save one header file for each applicaiton.

Its only problem is the header need to applied for every request. It doesn't remember or recall.

I also tested another add-on on Firefox called Modify Headers. It only worked the very first try but failed ever after.

Neither Tamper Data nor Modify Headers works on Internet Explorer.

It is said that IBM Page Details can work on IE.

Thursday, March 27, 2008

Books for Web Services

Web Services

Developing Web Services for Web Applications: A Guided Tour for Rational Application Developer and WebSphere Application Server (Ibm Illustrated Guide Series) (Paperback)

  • Paperback: 400 pages
  • Publisher: Mc Press; Pap/Cdr edition (September 15, 2005)
  • Language: English
  • ISBN-10: 1931182213
  • ISBN-13: 978-1931182218

Editorial Reviews

This book shows you how easy it is to create and use Web Services with IBM® Rational Application Developer or Web Developer, and WebSphere Application Server.

Intended for novice to intermediate Java programmers, Developing Web Services for Web Applications teaches users how to create Web Services, deploy Web Services to a server, and create client applications that use Web Services. Each chapter of the book teaches a key Web Service concept and takes you on a detailed, guided tour for creating or using a particular Web Service. Even if you’re completely new to Web Services, by the time you finish the lessons in this book, you’ll have all the skills needed to create useful Java programs with Web Services.

Using the “guided tour” approach, the book comes with practical step-by-step instructions and numerous screen captures, making it easy to follow along. While most books teach how to use either a development tool or a particular technology, Developing Web Services for Web Applications combines learning about Web Services with using Rational Developer tools. Each chapter develops a complete Web Service and/or application, with sample code and solution files provided on the accompanying CD-ROM. Also included in each chapter are additional exercises to help reinforce the concepts covered in that chapter.

By the end of the tour, you’ll be able to use Rational Developer tools to build your own Web Services, and you’ll understand why Web Services are gaining popularity as a way to provide services across the Internet.

Developing Web Services for Web Applications:

  • Is perfect for all skill levels, from those taking their first steps to those looking to explore more advanced topics
  • Teaches you Web Services concepts and terminology as you learn how to use the Rational Developer tools
  • Shows you how to create, deploy, publish, and use Web Services
  • Explores troubleshooting, using relational databases, using JavaServer Faces Web applications, adding security features, and much more

Contents:

Introduction
Chapter 1: Creating your first Web service and Web application
Chapter 2: Deploying and publishing your Web service
Chapter 3: Discovering Web services
Chapter 4: Handling Web service errors
Chapter 5: Using databases, part 1
Chapter 6: Using databases, part 2
Chapter 7: Using Web services with JavaServer Faces, part 1
Chapter 8: Using Web services with JavaServer Faces, part 2
Chapter 9: Securing Web services, part 1
Chapter 10: Securing Web services, part 2
Appendix A: Installing WebSphere Express

JMS Suggested Readings

Introductions

JMS Programming

JMS and WebSphere

Samples

Web Services Suggested Readings

Introductions

Java Web Services

Samples

Tutorials

Tuesday, March 18, 2008

Struts Configuration Editor in RSA 7

Once we couldn't open struts configuration file using Struts Configuration Editor. Right click the file, the Editor was not shown in the list.

We solved it by doing the following,

Opened the welcome perspective, enabled web development. Went back to J2EE or Web perspective and right clicked the struts-config.xml, the Editor was listed.

Tuesday, March 04, 2008

J2C CICS COBOL

In COBOL, some field might be defined as "OCCURS 300 TIMES". IBM Rational Software Architect version 7.0.0.3 translates it to an array in Java Binding Class with both lower bound and upper bound 300.

That causes problem when client sends up less than 300 records.

I solved it by editing the generated Java Binding Class and modifying the lower bound validation to use 0 instead of 300.

Tomcat Debug in Eclipse

Tomcat can be started in non-debug mode, but in debug mode, it got error,

Transport dt_socket failed to initialize, rc = 509.

JAVA version = 1.4.2_16
JAVA_HOME = <>\j2sdk1.4.2_16\bin
IDE = Eclipse 3.2
Web Server = Tomcat 5.0.28

I solved this by copying the two dll files (dt_shmem.dll, dt_socket.dll) from "<>\j2sdk1.4.2_16\jre\bin" to "<>\j2sdk1.4.2_16\bin".