Saturday, September 14, 2013

After a looong pause ...


Well, it had been a while since I posted on my blog, this is partially due to ever increasing professional work and I had been posting on company's internal blog, we call it Architect's blog ;). Of late, I developed interest in the NoSQL Databases and am currently undergoing the MongoDB for Java Developer's course. Pretty good course, I must say, more on this in a later post as I have almost completed the 7 week course and doing the final exam. REST webservices is another area of my interest right now.

Saturday, December 11, 2010

Year.introspect(2010)

Time has come again to look back and introspect on happenings of this year to learn and equip myself better for the next year. This year had been very interesting both on the personal and work fronts. On the personal side, we had a baby boy on Oct 11 and am starting to get used to the nappy changing duty ;). It is so much fun playing with my son and watching him grow. Babies are the cutest things in this world.

On the work side, we did a successful BPEL deployment. It was indeed a good learning experience, especially, with 3DNS/Big IP acting up in production preventing the partner links from being invoked (more on this topic later). Enabling service Orientedness for the application was another fun filled exercise - coaching the team on BPMN, service identification, training the team on BPEL, whipping up schemas and more importantly getting the buy in from stakeholders and peers. Did a bit of hacking to remote deploy all the bpel suitcases to the BPEL console using commons-http-connection. We are still on BPEL PM 10.1.3.4 and have a plan to migrate to SOA Suite 11g sometime mid next year. I have also created an installer for my application based on ant installer, this is a cool stuff that helps in deploying the applications (silently) to the target envs and the dev team can stay away while the ops team does the installation :).

I read Robin Sharma's two very good books - Leader who had no title and the monk who sold his Ferrari, both are very good books and I highly recommend reading them. I have also read few technical books - BPMN method and style by Bruce Silver, Oracle SOA Suite Developer's Guide, Getting Started with SOA Suite 11g, Enterprise Architecture A - Z.

Tuesday, October 26, 2010

Instance created!!!

At 2010-10-11T17:26:00+05:30Z, an instance of an anonymous inner class has been created. The toXML() of the instance is below:

<Event name="child birth">
<Name> TBD </Name>
<DateofBirth>Oct 11, 2010</DateofBirth>
<TimeofBirth>17:26</TimeofBirth>
<PlaceofBirth>Basant Sahney Hospital, W Marredpally, Hyderabad</PlaceofBirth>
<Gender>Male</Gender>
<Weight>2.72 KG</Weight>
</Event>

The instance is yet to be named per com.astrology.zodiac.* standards and bind to the Srirangam namespace.

And thats the reason I'm not active on the blog ;) and another reason is we have an internal blog in our company that runs on moss and most of my blogging activity is happening on the internal blog.

****** UPDATE ******
The instance is named Nischay!

Tuesday, August 03, 2010

Thursday, June 03, 2010

BPEL Deployment plan to replace queue names

We are using Oracle BPEL PM 10.1.3.4 and we are using the deployment plan feature to take care of the replacement of the wsdl end points and schema content. We realized that the queue names were not being replaced with simple search and replace. As guessed, the search replace functionality worked only for the wsdls where the host and port names were getting replaced correctly. Following needs to be done to have it working for the queue names:
1. Include the jca namespace in the deployment plan file [xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"]
2. Use the following to replace the queue name
<jca:property name="QueueName">
<searchReplace>
<search>oldqueuename</search>
<replace>newqueuename</replace>
</jca:property>

3. Most important of all, ensure that the above entry is the first inside the <wsdlAndSchema> element, otherwise, there'd be errors during deployment and the queue names shall not be replaced.

Monday, May 24, 2010

Long Pause

I had been silent on the blog for quite a while, the reason being, apparently, too much of activity at work and domestic fronts. Life is back to normal and things are under control now. I'd be writing few entries on the BPEL this time, so watch the space ;)

Saturday, February 06, 2010

Programmer Types

We have heard of types of architects, this blog entry talks about types of programmers based on two attributes - planning and sophistication. Another dimension of looking at things!

Apache Thrift

Apache Thrift - "Thrift is a software framework for scalable cross-language services development. It combines a software stack with a code generation engine to build services that work efficiently and seamlessly between C++, Java, Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, Smalltalk, and OCaml.". Sounds pretty interesting.

Wednesday, November 25, 2009

Year.introspect(2009)

Yet another year!
This year I made no more than 7 blog entries, the reason for being quite on the blogging front is that significant time was required to be spent on the work and personal fronts and seldom had a chance to blog.

On the work front, had a absoutely eventful year. Moved to a different domain within in the same company and it is very interesting to roll out the projects in a relatively shorter time frames whose business impact is very conspicuous. Had a very delightful time designing the stuff and educating the team. Btw, I got promoted as well :)

On the personal front, nothing great but got used to family life and the daily chores :). Early september, we managed to get a week off and went to Kerala. The vacation was much needed and was very refreshing.

Sunday, October 11, 2009

Thank You, Sateesh!

Today, our project deployment to PROD went very very smoothly. It is one of the smoothest deployments I had ever seen. Everything worked absolutely fine with no issues. If I look back and introspect the way it was developed and delivered, one key factor that attributed to the success of the project is the "buddy - buddy" relationship with the test team. We have an exceptionally good testing team that worked together with the dev team and helped in identifying the defects early. Thanks to the test lead for his iconic leadership and providing direction to the test team on how to test complex scenarios. Sateesh, you rock!!!

Tuesday, August 25, 2009

Control Characters in XML

For some reason, XML 1.0 does not support low level ASCII control characters, even if they are wrapped inside a CDATA section. In my project, there was a requirement to send barcode data in an XML message that contained ASCII charaters from 4-31 and although we wrapped the content in a CDATA section, it didnt help. The parser didnot understand it and blew up. XML 1.1 seems to have added support for control characters, but the parsers we use are yet to offer the support. We resolved the issue by encoding the content to Base64 and asked the downstream apps to decode it back and use it.

Btw, this is my 100th blog entry :)

Friday, May 29, 2009

Smooks!

Came across this nice thing - Smooks, a powerful ETL tool and of course, it is open source. The site talks about transformations from/to java various formats. Itz time to give it a try!

Wednesday, May 06, 2009

The premain() method

A colleague of mine pointed me to the premain() method in Java. This method is useful, particularly, in cases where there is a need to add a jar while the system is coming up, the jars can be added to bootstrap classloader, cool! One use of this method is to start an agent to monitor the performance of the system and have some program listen on this port to aggregate the perf stats. I just came across a really cool utility that draws the sequence diagrams while the program is running. Interestingly, this tool is also loading the agent using the premain(). If you'd like to give this tool a try download JTracert from the google code!

Friday, January 30, 2009

Web Service Orchestration without BPEL

In my project there is a requirement to call few web services in sequence and aggregate the responses and expose the functionality as a web service. There are quite many services with this required behavior. The initial solution was to use some BPEL engine, but the decision was put on hold due to various reasons and we were encouraged to whip up a light weight framework in java that suits our needs. This was indeed interesting and I was successful in designing and developing a embeddable and light weight orchestration framework in java. Following are some thoughts on the same -

Since, the framework is more or less chaining of web service calls, I decided to keep the flow of messages as XML inside the orchestration framework. Modeled the Orchestration as an XML pipeline. Chaining of web service calls needed transformation of response to that of the request of the next service and XSL has been choosen to transform the message formats. Quickly whipped up an XSLUtil based on Trax (Transformation API for XML). The next challenge was to invoke the webservices using XML data as request. I decided to go the XML way to avoid marshalling/unmarshalling of POJOs from/to XML. JAX-WS came handy here. JAX-WS comes with a nice feature called Dispatch that would allow invocation of web services using either a SOAP message or XML payload, the latter met my need. It didnt take much time to play with the Dispatch interface and to implement a generic utility. I had the core componenets ready in a very short span of time.

The next step was to abstract the execution of these utilities, so defined the classes called *Action for transformation and invocation and made them configurable using a XML file and my little orchestration framework is ready. It also has a feature that reports the invocation trace along with the profiling information. However, this is just the beginning. There was an immediate need to add the branching, looping, assignment actions. Used JEXL for expression evaluation of branching and looping functions. And now, am thinking of adding some kind of a transition governance between the stages (using AspectJ) and add some kind of a compensation handlers to each stage. I'm also playing around with XTS of JBossTM to see if I can provide transaction recovery and make the web services transaction aware.

If you have any suggestions and ideas to improve the framework, write a comment.

Thursday, January 22, 2009

Qualities of a Software Architect

Interesting article on the essential qualities of an architect. Read it here -
http://blogs.msdn.com/gabriel_morgan/archive/2009/01/17/enterprise-solution-architects-and-leadership.aspx.I quite agree with Gabriel that leadership is imperative for an architect. Let me know your thoughts.

Tuesday, December 30, 2008

Year.introspect(2008)

Well, another year is just rolling by and am here again introspecting the happenings during the last 12 months. This year had been an quite eventful on both work and personal fronts.

On the personal front - Got married on March 09 and it took a while to get adjusted to the family life, given that I was away from home most of the time for my education and career. Should say that I ramped up quite fast here. My wife Madhuri is very understanding and did her best to make our lives happy. We got the pending tasks done at the new house and finally moved into the new house during November. Personal tasks, unsually, took lot of effort, but managed it quite well.

On the work front - an year filled with lot of learning and fun with technology. Made a formal entry to the world of services, yeah, the SOA stuff. Played and had fun with webservices, ALSB. Worked with some of the best brains and learnt a lot. This year, in addition to the role of an architect, I was also in the role of an Delivery Lead (DL). It was a thrilling experience to learn and disseminate the technical stuff, define the contracts, keep the team motivated and making the day-to-day tasks more enjoyable. Understanding the group dynamics and building the team was really cool. I realized that the best way to motivate the team is to kindle the technical passion and fuel it continuously by challenging the developers. Facilitate the team and encourage them to do it themselves.

Coming to the reading part, I read only three books this year. SOA - concepts, technology and design and SOA - prinicples of service design, both by Thomsa Erl. The first book is well over 600 pages and took a while for completion. These came to me as gifts from Madhuri on my birthday. I highly recommend reading these books. I also read How to win friends and influence people by Dale Carnegie, it was very good read.

Overall, it was very good year. I wish everyone a very happy and prosperous new year.

Sunday, December 28, 2008

Ref Cards for developers

Here is a nice link that contains downloadable copies of ref cards for various technologies.

Thursday, December 11, 2008

Internet Connection saga

After moving to the new house in Sainikpuri, we enquired for almost 3 weeks calling different ISPs to set up a broadband connection and it was all in vain. The customer service is pathetic and annoying. One ISP collected all the required documentation and a cheque for the installation and first month charges but after a couple of days informed us that the connection cannot be made and that the money would be returned within 15 business days (It has been more than that now, we still did not get the money back!). We almost gave up and decided to settle with the USB enabled connection.

Now, am publishing this post connected to a 400Kbps line from home. Here is the sequence of events that happened during the last 10 days -

Dec 02, 2008: Received a call from Vedica Technologies. Not sure how they got my number, the agent inquired if am interested in a Wimax connection from Reliance. Said Yes and was informed that the sales executive would call and meet me in two business days.

Dec 04, 2008: Sales Executive met me at home around 9 PM and gave the details of the plan, collected the documents. I mentioned sternly that I'd give the cheque only after technical feasibility is done and was told that it was not the process. I was unrelenting on that matter and the director (Mr. Srinivas Reddy) called me up and I mentioned the experience with one of the ISPs. Though, it was not per process, the director agreed to do the technical feasibility as I had a bitter experience earlier.

Dec 06, 2008: Technical Feasibility completed and was assured a strong signal as the tower is within 1KM distance. The tech Agent allowed me to test from my laptop. Gave the cheque and asked for the installation to be done on Dec 09 as it was a holliday for me.

Dec 09, 2008: Got a call around 9 AM from the tech agent that installation cannot be done as the work order is not processed yet. Verification of the details was done by reliance communications via phone and in person by 3 PM.

Dec 11, 2008: Installation started around 8 AM and completed by 10:30. There was minor disruption in setting up the account. By 11:30 the account is activated and am connected to the world! Working from home today.

I'm quite pleased with the service offered by Vedica Technologies and would thank Srinivas Reddy, the director and Hemanth, the tech agent for their committment.

Sunday, November 16, 2008

Moved!!

We finally did it! Moved to the new house on Saturday, Nov 15, 2008. The move was very well planned and it was not too hectic. The distance to the office increased by 4 KM and the route being good will take close to one hour to reach the office

Monday, November 10, 2008

GC and Performance Tuning

Here is the link to performance tuning techniques at the GC level. Ever wondered about the options available at the GC level for performance tuning?