667481 members! Sign up to stay informed.

Sponsored Links


Resources

Enterprise Java
Research Library

Get Java white papers, product information, case studies and webcasts

News News News Messages: 6 Messages: 6 Messages: 6 Printer friendly Printer friendly Printer friendly Post reply Post reply Post reply XML XML XML

Jencks 1.0 Released: Spring based Message Driven POJOs

Posted by: James Strachan on September 21, 2005 DIGG
Jencks is a lightweight JCA container which is easy to deploy inside Spring to provide Message Driven POJOs.

In addition Jencks supports inbound and outbound messaging using APIs like JMS, JAX-RPC, JBI and JCA CCI as well as providing an XA based pooling mechanism for JDBC. e.g. here is how to use Outbound JMS.

Jencks by default reuses the Geronimo JCA connector, WorkManager and TransactionManager - though there are no fixed runtime dependencies on Geronimo so you should be able to use Jencks with JOTM and Jonas too - though we recommend the Geronimo implementations as they are heavily tested and support full XA recovery.

Grab it while its hot or browse the release notes.

Threaded replies

·  Jencks 1.0 Released: Spring based Message Driven POJOs by James Strachan on Wed Sep 21 04:58:47 EDT 2005
  ·  Jencks 1.0 Released: Spring based Message Driven POJOs by Erik Bengtson on Wed Sep 21 08:29:00 EDT 2005
    ·  Jencks 1.0 Released: Spring based Message Driven POJOs by James Strachan on Wed Sep 21 09:42:02 EDT 2005
  ·  Support for tibco by Asif Rajwani on Wed Sep 21 11:18:09 EDT 2005
    ·  Support for tibco by James Strachan on Wed Sep 21 12:26:07 EDT 2005
  ·  Congratulations by Robin Roos on Thu Sep 22 04:30:37 EDT 2005
    ·  Congratulations by James Strachan on Sun Sep 25 04:22:44 EDT 2005
  Message #185269 Post reply Post reply Post reply Go to top Go to top Go to top

Jencks 1.0 Released: Spring based Message Driven POJOs

Posted by: Erik Bengtson on September 21, 2005 in response to Message #185250
1 - Does it support JCA 1.0?

2 - I have a JCA adapter and I want to unit test it. Do you have examples or guide for doing it? I dont want to run the full JEE container.

Thx

  Message #185277 Post reply Post reply Post reply Go to top Go to top Go to top

Jencks 1.0 Released: Spring based Message Driven POJOs

Posted by: James Strachan on September 21, 2005 in response to Message #185269
1 - Does it support JCA 1.0?2 - I have a JCA adapter and I want to unit test it. Do you have examples or guide for doing it? I dont want to run the full JEE container.Thx

JCA 1.0 should be supported, though its worth testing to be sure :) All our development and testing has been on JCA 1.5. Though 1.5 mostly just adds message inflow & transactions support, so 1.0 based connectors should still work.

In terms of testing, the best way is to try out one of our test cases; maybe you can make something similar - configure your adaptor in Spring then write a small JUnit test case to test it works?

e.g. here's a bunch of outbound based test cases...
http://cvs.jencks.codehaus.org/jencks/src/test/java/org/jencks/samples/outbound/

together with the spring XML config files
http://cvs.jencks.codehaus.org/jencks/src/test/resources/org/jencks/samples/outbound/

Just out of interest, what kind of JCA adapter is it?

James
LogicBlaze

  Message #185288 Post reply Post reply Post reply Go to top Go to top Go to top

Support for tibco

Posted by: Asif Rajwani on September 21, 2005 in response to Message #185250
Can I use it with tibco jms (EMS). I understand that along with JMS provider (EMS) I also need JCA Resource Adapter. So my question is does tibco comes with JCA Resource Adapter. I looked at the tibco jar file but can not figure out by looking at the file names in there. If it does not ship with one can I use any other JCA Resource Adapter.

  Message #185296 Post reply Post reply Post reply Go to top Go to top Go to top

Support for tibco

Posted by: James Strachan on September 21, 2005 in response to Message #185288
Can I use it with tibco jms (EMS). I understand that along with JMS provider (EMS) I also need JCA Resource Adapter. So my question is does tibco comes with JCA Resource Adapter. I looked at the tibco jar file but can not figure out by looking at the file names in there. If it does not ship with one can I use any other JCA Resource Adapter.

You can use the GenericRA to work with JMS providers which don't supply a native Resource Adaptor.

http:/genericra.dev.java.net/

e.g. this Jencks test case uses GenericRA with a regular JMS provider

http://cvs.jencks.codehaus.org/jencks/src/test/resources/org/jencks/samples/outbound/jencks-genericjmsra.xml?rev=HEAD&view=auto

James
LogicBlaze

  Message #185352 Post reply Post reply Post reply Go to top Go to top Go to top

Congratulations

Posted by: Robin Roos on September 22, 2005 in response to Message #185250
Hey James, well done! I knew these ideas would come to fruition. With so few people actually understanding JCA the availablility of a portable (i.e. not container-bound) implementation will really help.

One question, does "Jencks" play the piano as well as its namesake David?

Kind regards, Robin.

  Message #185720 Post reply Post reply Post reply Go to top Go to top Go to top

Congratulations

Posted by: James Strachan on September 25, 2005 in response to Message #185352
Hey James, well done! I knew these ideas would come to fruition. With so few people actually understanding JCA the availablility of a portable (i.e. not container-bound) implementation will really help.One question, does "Jencks" play the piano as well as its namesake David?Kind regards, Robin.

I think we need a Resource Adaptor for that one :)

Thanks Robin!

James
LogicBlaze

New content on TheServerSide.comNew content on TheServerSide.comNew content on TheServerSide.com

Dependency Injection in Java EE 6 - Part 1

Reza Rahman explores the features of the proposed JSR 299, Contexts and Dependency Injection for Java EE (CDI). When approved, it promises to be a key feature of Java EE 6. (November 2, Article)

SAML: It's Not just for Web services

SAML is an XML-based standard for exchanging authentication and authorization data between security domains. The single most important problem that SAML was created to solve is the Web browser Single Sign-On problem. Many organizations are debating whether to stay with version 1.1 or move to 2.0. This article makes observations about both options. (September 28, Article)

Programming is Also Teaching Your Team

Joe Ottinger takes a look at how people learn, and applies it to the practice of programming. He notes that understanding how people learn is an essential part of working in a programming team. (September 22, Article)

Can Java EE Deliver The Asynchronous Web?

Stephen Maryka gave us an article about the Asynchronous Web and posed a number of questions that get examined like an approach to delivering Asynchronous Web capabilities through extensions to existing Java EE technologies. (July 14, Article)

JSF Flex

JavaServer Faces Flex goal is to provide users capability in creating standard Flex components, part of flexSDK which is open sourced through MPL license, as normal JSF components. This article by Ji Hoon Kim will provide an overview of creating a simple multilingual JSF page consisting of JSF Flex tags. (June 29, Article)

The Rules of SOA - A Road to a Successful SOA Implementation

In this session Jeff explores the key characteristics of successful SOA projects. He covers some of the patterns, and anti-patterns, tool sets, and strategies that he himself learned the hard way. Last, he provides a strategy and blueprint for achieving a high likelihood of success in your SOA project. (June 23, Tech Talk)

Ari Zilka Talks About Terracotta 3.1

Ari Zilka, CTO of Terracotta, Inc., talks about the new features in Terracotta 3.1, announced during JavaOne and available now. (June 15, Tech Talk)

Enterprise Application Integration, and Spring

In this Tech Talk, Josh Long explores an integration challenge using Spring Integration and walks through the implementation, employing and expanding on the basic patterns of Enterprise Application Integration to tie together components into a function integration solution, and then demonstrates how Spring Integration helps address the integration requirements. (June 15, Tech Talk)

Google Web Toolkit: An Introduction

In this Tech Talk, David Geary teaches you: The basics of Google Web Toolkit; How to implement Ajax-enabled applications in Java; Internationalization; Hooking into the browser history mechanism; Remote procedure calls. (June 4, Tech Talk)

Just Enough Early Architecture to Guide Development

Jon Kern discusses the best architecture/technical solutions and ensure that they are repeated by all developers. By tackling the architecture up-front in a serial manner, subsequent parallel development will be much more manageable and predictable. (May 28, Tech Talk)

Productive Programmer: On the Lam from the Furniture Police

This keynote describes the frustrations of modern knowledge workers in their quest to actually get some work done, and solutions for how to guard yourself against all those distractions. Neal Ford talks about environments, coding, acceleration, automation, and avoiding repetition as ways to defeat the misguided attempts to sap your ability to produce good work. (May 26, Tech Talk)

Auto-Scaling Your Existing Web Application

Gil demonstrates how new, aggressive uses of already abundant compute capacity by common applications offer competitive value for application designers. (May 21, Tech Talk)

Automating Hibernate Mapping and Queries For Java Web Development

Chris Keene introduces WaveMaker as a new way to automate the ability to generate Hibernate classes in order to more quickly bring OR mapping into an application. (May 19, Article)

Auto-Scaling Your Existing Web Application

In this session Nati Shalom demonstrates how to take a standard Java EE web application and scale it out or down dynamically without changes to the application code. Seeing as most web applications are over-provisioned to meet infrequent peak loads, this is a dramatic change because it enables growing your application as needed, when needed, without paying for unutilized resources. (May 19, Tech Talk)

Free Book: Jakarta-Struts Live

Download the entire book of Jakarta-Struts Live and learn about Struts MVC, Tiles, the Validator, DynaActionForms, plug-ins, internationalization, and more.
(Book PDF Download)

Application Server Matrix

The Application Server Matrix is a detailed listing of J2EE vendors and their application server products, with information on latest version numbers, J2EE spec support and licensing, pricing, platform support, and links to product downloads and reviews.
(Application Server Comparison Matrix)

News | Blogs | Discussions | Tech talks | Patterns | Reviews | White Papers | Downloads | Articles | Media kit | About
Java Solutions
All Content Copyright ©2007 TheServerSide Privacy Policy
Site Map