Monday Jul 24, 2006

Gregor Samsa is a ... software bug?

Metamorphosis

Just came across this "Daily WTF" entry and loved it. If Kafka was alive now, would he ever metamorphosize Gregor Samsa into a software bug? :)

Have you seen any similar interesting literary reference(s) in source code elsewhere?

Technorati: ,

Wednesday Jun 28, 2006

JavaOne BoF 0491 - Developing J2EE™ Connector Architecture Resource Adapters

Vintage microphones

As mentioned in an earlier entry Frank Kieviet and I spoke at a BoF titled "Developing J2EE™ Connector Architecture Resource Adapters" in this year's JavaOne. Though the presentations for the technical sessions are available now on the JavaOne site, slides for the BoFs are not available. Frank has made the slides [pdf] for our BoF and an (amateur) audio recording of the presentation and Q/A session available. Please let us know any comments you may have.

Update: ogg vorbis and mp3 versions available.

Technorati: , , ,

On Fermat, his last theorem and a musical??

Pierre de Fermat

I had liked an earlier book of Simon Singh and love numbers (well, who doesn't) and so grabbed the Fermat's Enigma from a local library a couple of weeks ago and happened to read it last week.

After all who can resist a teaser that goes "I have discovered a truly marvelous demonstration of this proposition that this margin is too narrow to contain." Well, apparently a whole world of mathematicians have been on or helped this quest for 350 odd years, when an English mathematician of Princeton ("after working in isolation for eight years") finally cracked it, or did he?

A truly rivetting account of a painstaking mathematical journey. Highly recommended for a wonderful Saturday/Sunday afternoon read. Apart from Simon Singh's clear lucid summary of some of the tricky mathematics surrounding the book (such that even a layperson, like me too ahem, can understand), what is commendable about the book, atleast IMO, was that it brings forward the interesting aspects of the lives of the mathematicians involved in the quest.

What the interweb also got me later was the other side of the FLT quest: Pop culture references, limericks, poems and even a off-broadway musical!!

Now, what do I need to do to understand the proof ... sigh :)

Sunday Jun 18, 2006

java.net community corner minitalk at JavaOne 2006

a community meeting

One of the interesting booths in the JavaOne pavilion is the java.net community corner where projects built at java.net were showcased. Last year and this year, this pavilion also hosted a series of minitalks where java.net developers could give presentations on their projects. Last year I had given an introduction to Generic RA for JMS and this year, since we had seen enough interest in the project mailing lists, we gave a presentation on the Availability features in Generic RA for JMS. Binod also has a good writeup about how Generic RA enables JMS provider pluggability in GlassFish and other J2EE application servers.

In addition to what MoM products provide in terms of availability and fault tolerance, there are a lot of interesting features a JMS resource adapter could add as well and this talk presents what Generic RA provides today in terms of availability. I arrived late as I was caught in a business meeting before my scheduled slot and hence had to give a rather hurried/abridged form of the talk :(. Apologies for that.

The slides are available here and an audio recording [this year the minitalks were podcast live from the show floor] is available here ... and thanks again to the gentleman in the audience who helped me with his USB key!!

Technorati: , , ,

Wednesday Jun 14, 2006

One year old .. Go OpenSolaris go!!

OpenSolaris 1 Year Anniversary

The OpenSolaris project is one year old today. Congratulations to everyone for making it happen.

Wednesday May 17, 2006

JavaOne 2006 Day 0: NetBeans Day

Here are some raw notes from two sessions I attended in NetBeans Day

NetBeans Day

NB 5.5 and Java EE 5 - Ludo and Martin Adamek

Introduction
    Java EE 5 available today - SDK, Tools bundle beta AS/ESB/AM
    "This ain't your fathers J2EE" - Bill Shannon
    Declarative programming, EoD - Removing requirements - More powerful frameworks 
    Java EE 5 end to end development - JPA, web tier, ejb 3.0, web services and java EE SDK support
    web/j2ee applications integrated with the profiler pack

NetBeans 5.5 Java Persistence API support
    wizarsd to create entity classes, persistence units, persistence provider libraries, entity classes from database, jsf pages from entity classes, session facade from entity classes
    standalone persistence runtime from glassfish
    visual editor for persistence.xml

NetBeans 5.5 WebServices - Wizards for WS, clients, handlers and operations
    jax-ws 2.0 and jaxb 2.0
    drag and drop for WS operations, using WS clients from another prohect and annotations code completion
    glassfish tester capability

NetBeans 5.5 Web Tier suppport
    jsp/jsf el code completion
    visual security configuration
    palette, hyperlinks
    CRUD application generator

Demo
    entity classes from database, jsf page from entity classes, AVK integration, annotation codecompletion, persistence.xml gui/xml editing, hyperlinked editor
    webservice creation wizard, deploy, test WS

Project tango
    deliver WS technologies enabling first class interop between SJS products and WCF
    works with NB 5.5
    wizards to define WS attributes - secure WS- keystore/security bindings etc
    A secure WS being contacted by a webclient - xenc:CipherValue containing encrypted content - allows interoperability between WCF and SJS.
    NB 5.5 beta available today.

NetBeans enteprise pack - Todd Fast,Chris Webster and Mike Frisino

NB enterprise pack 
    enriching the circle of integrate tools
    changing the game - open source JSE into NB
    UML capabilities - SOA/BPEL orch at NB

Vision
    SOA - composite application building, BPEL, integration and rich visual XML tools
    Application lifecycle management - UML modelling, project mgmt and governance and automatic project documentation

Enterprise pack
    Integrated UML modelling - UML 2.0 - bidirectional model to code synchronization - markerless code generation
    Visual WS orchestration - BPEL 2.0 designer - roundtrip engg between visual diagram and BPEL source - deployment to SeeBeyond BPEL 2.0 engine hosted in JBI
    Visual XML tools - scalable visualization of schema documents - handle real world schemas like OTA, NRF, UBL, IRS - allows user to view schema with context - schema conceptualization - perform advanced queries with visualization. IRS schemas are really complex ! :)
    NB Enterprise pack Early Access available now!

Demo
    BPEL editor whirlwind tour - visual design environment, design and code views - one or more BPEL modules in a composite application - deploy BPEL artifacts to BPEL runtime is an implementation of BPEL which is embedded in a JBI engine(extensible service bus) [available within SJSAS] - new SOA samples available - Mapper XPath expression editor - Add JUnit testcases to exercise WSDL artifacts - debugging support at source code level (very similar to java debugger in NB) - adding WSDL's will result in obtaining transitive closure of all WSDLs into the project.
    visual XML schema generator - source, schema, instance and analysis views - OTA schema as an example of viewing and searching large schemas - show usages - 

http://enterprise.netbeans.org
http://xml.netbeans.org

.. and as usual the "Click and Hack - The Type-It Brothers." were am[us|az]ing. My wifi in my laptop is acting up and so my updates would be rather slow. Apologies for that. Anyway, for better/live coverage, there is a whole lot of sound-bytes appearing in the blogosphere.

My BoF is at Wednesday 05/17/2006 08:30 PM - 09:20 PM Argent Hotel Franciscan I. So if you are interested in connectors/resource adapter development, please do come.

Technorati: , , ,

Friday May 12, 2006

JavaOne 2006 - see you there

JavaOne 2006 is around the corner and this is the third year in a row I am participating. The JavaOne experience has always been amazing. JavaOne is not just a list of Technical Sessions that span through the entire day and BoFs/parties that continue till late in the night but is also about meeting people, gaining new insights, seeing cool technology in action and sharing ideas. There are loads of tips from others out there. After all it is still the best place to meet people anything and everything to do with Java. This year note that the PDFs for the technical session presentations would be available for download from May 15.

For those who are interested on resource adapter development/J2EE Connectors specification development, I co-present BoF-0491 with Frank Kievet, on Wednesday 05/17/2006 08:30 PM - 09:20 PM, Argent Hotel Franciscan I.

In the Generic RA for JMS project, we are presenting a talk titled "Availability features in the Generic RA for JMS" at the java.net community corner. This talk would discuss availability related features, in the RA, like connection auto-reconnect, message redelivery, connection validation etc and would be at 12:30PM on Thursday May 18, 2006 at pd # 532 in the JavaOne Pavilion area.I should place the presentation slides and an abstract in the next couple of days in the talks folder. So if you are planning on attending JavaOne, please do come by and let's meet.

.. and in Project GlassFish there is a bunch of sessions/BoFs we are part of.

This space hasn't been updated for quite a while and so, to fix that, I might blog(either live or delayed) from technical sessions/BoFs I attend. Well that is a hard promise for the madness that is those three-four days, however let's see how it goes. See you there! .. and I have to go get ready for the long flight from Bangalore to San Francisco

Technorati: , , ,

Monday Feb 27, 2006

Websphere MQ integration with Sun Java System Application Server using Generic RA

I just checked in a how-to style integration guide [co-authored with my colleague Sushmita Sharma] that shows how Generic RA for JMS could be used to integrate WebSphere MQ 6.0 (formerly MQ Series) with Sun Java System Application Server/Project GlassFish. Please use the users/dev mailing list at the project community site http://genericjmsra.dev.java.net for any questions/suggestions/improvements you might have.

An abstract from the article

"It has often been an enterprise application integration developer's nightmare to integrate disparate messaging products with transactional applications deployed in a Java EE application server. The preferred message provider pluggability mechanism in J2EE 1.4 and beyond is using the Connectors 1.5 architecture, but a lot of messaging providers do not bundle Connectors 1.5 compliant resource adapters to help in this integration.

The Generic resource adapter for JMS project helps in integrating messaging products with J2EE application servers by wrapping their JMS client library in a J2EE Connector Architecture 1.5 resource adapter. It has been used to integrate different messaging products like Tibco EMS and Sun Java System Message Queue with the Sun Java System Application Server. In this article we would guide you through the steps for using the Generic Resource Adapter for JMS [referred to as 'Generic RA' in the article going forward] to integrate IBM WebSphere MQ 6.0 [formerly MQ Series] with Sun Java System Application Server 8.2 and above

Instructions outlined in this article could also be used to integration WebSphere MQ 6.0 with Project GlassFish and the Java EE 5 SDK preview/Sun Java System Application Server PE 9 beta versions available today. "

We have seen a lot of interest in the Generic RA for JMS community lately and some of them have used the project to integrate different JMS providers with their application servers. If you have any success/experience in using Generic Resource Adapter for JMS in any application server to integrate with any JMS provider of your choice, please let the users alias/the project owners [binod AT dev DOT java dot NET (or) sivakumart AT dev DOT java dot NET] know and we would be glad to host your experiences in the community site.

Puzzling over cricket on a lazy sunday afternoon .....

Who doesn't love puzzles ... and especially on a lazy sunday afternoon?

Yesterday afternoon, I was thumbing "The Worst of MindSport", a collection of puzzles run by Mukul Sharma in his "MindSport" column. FWIW, "MindSport" was a famous weekly column in "Illustrate Weekly of India" and now-a-days it features in "Times of India". It was said that there were a section of folks who bought the newspaper just for his column, just like there is a group who get the ToI for RK Laxman's daily cartoon column.

Anyway found two interesting puzzles from the book, worth sharing here ...

1. Did you know what is common among all the US presidents after George Washington ?

Answer [ROT13'ed]: (copy this line into the text area at http://www.rot13.com/index.php and press "Cypher").

Nyy gurve ynfg anzrf unir ngyrnfg bar yrggre va gur frg 'Jnfuvatgba'

Is this why Kerry couldn't make it last time?

2.This is more a cricketing problem than a puzzle. Cricket is religion in India (I haven't been actively following our cricket team since idols wept ... but that's a story for another day).

The problem goes like this: It is the last ball, last wicket in a match and the batting side needs a run to win the game. So the batsmen hits a beautiful shot and one could easily run 3 runs with that stroke. However the batsman is injured (broke his leg -- hypothetical, remember!) making the shot and can't run (no runner for him..).

So he calls his non-striker team-mate to start the run. The batsman gets out of his crease for a few inches and the non-striker completes his run. He asks the non-striker to go for another run and the batsman gets back into his crease. He argues that the first run was a "short" run and the second one was a valid run since he returned "back" to his crease. Do they win the match or not?

Apparently Mukul Sharma met Dom Moraes [apparently was an avid cricket fan] once and posed him this and he apparently held that this was not a run for various reasons. The author doesn't go on to explain the rules of the game that explain either way.

However readers of this space, this is where you come :). Could you help me out? Use the comments section to point to me some arcane MCC rule, show me some old Ashes/subcontinental precedent .. help me solve this problem.

Monday Feb 13, 2006

NetBeans Day at Sun Tech Days, Chennai

I participated as a speaker in NetBeans Day organized as part of Sun Tech Days at Chennai last week and it was a great experience.The audience started filling up early [where else have you seen the hall filling up 30 minutes before the event starts !!]

Tim Boudreau had two sessions [An introduction to NetBeans 5.0 and a session on plug-in development and building applications on the NetBeans platform]. Kiran Patel's session on Java ME support in NetBeans was well received as well.

My session, was on J2EE and Java EE support in NetBeans 5.0/5.5 respectively.

NetBeans 5.0, clearly provides great out-of-the-box support for J2EE development and here is the list of demos I showed up on stage

    J2EE 1.4 support in NetBeans 5.0
  • Showed how well the J2EE blueprints [now with AJAX blueprints] are available off the IDE. This, IMHO, is a great way to learn J2EE best-practices and try them out straight out of the IDE.
  • Demonstrated how easy it is to create, edit, build, deploy and run a J2EE 1.4 web application - Pointed out how the HTTP monitor could be used as a great debugging/testing tool
  • Demo'ed creation and consumption of a simple "Hello World" [We localized it to "Vanakkam Chennai" during the presentation :)] web-service
  • Java EE 5.0 support in NetBeans 5.5

    NetBeans 5.5 is currently a work in progress, and my demo was based off the previous day's NetBeans nightly [200602072300] and Project GlassFish Beta candidate b32b. Talk about bleeding edge ... and it worked, except for a minor typo I made [how dumb.], and the friendly Chennai audience spotted the typo [Thanks!] and we had the demo come out just fine.

  • Demo'ed how easy it is to create a simple EJB30 Stateless session bean, build and deploy in Project GlassFish and write a simple servlet to exercise the bean.

Update: The slides are now available.

Hello World !

... and so I have been bitten by the blogger bug as well.

Wasn't it Andy Warhol who said "In the future, everyone will be world-famous for 15 minutes." ? Of late, I think, bloggers are atleast famous for 15 seconds worldwide in everyone's feed reader ... and so here is my rather weak attempt ;)

At Sun, I work as a development engineer in the Sun Java System Application Server/Project GlassFish team and lead the implementation of the Connectors and Sun Java System Message Queue integration modules. In short, I am another fish in the aquarium :)

I also co-own the Generic Resource Adapter for JMS project at java.net

In the coming days, I intend to write more about GlassFish, particularly about the areas I work on and my other personal interests. Please feel free to provide your comments/feedback/suggestions.

About

sivakumart

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today