Posts

Showing posts from 2014

How to convert an String into int value

There are many ways to convert an String into Integer object in Java e.g. Integer.valueOf(), new Integer(), Integer.parseInt() or writing your own algorithm to convert string to int etc, but which one is the best tool for the job. here are different ways of converting String object into int or Integer in Java : 1) By using Intger.parseInt(String string-to-be-converted) method This is my preferred way of converting an String to int in Java, Extremely easy and most flexible way of converting String to Integer. Let see an example of String to int conversion:  //using Integer.parseInt  int i = Integer.parseInt("123");  System.out.println("i: " + i); Integer.parseInt() method will throw NumberFormatException if String provided is not a proper number. Same technique can be used to convert other data type like float and Double to String in Java. Java API provides static methods like Float.parseFloat() and Double.parseDouble() to perform data type conversion. ...

SOA

"What is this SOA?" Have you ever questioned this? many of my non-IT colleagues ask me this. So here I will word it in very simple style. Actually, SOA is architecture style.. It is an approach you follow when you develop some systems or integrated software. From my personal experience I would say, applying SOA in Big Bang is bad, think big, start small. Our target should be to build SOBA(service oriented business applications) SOA governance is the key to have service  catalog . We have to have Service bus to avoid point to point interaction.

Java Design Pattern training by Oracle

Recently, I had the an opportunity to attend Oracle University's Java Design Patterns course, and yes, was it a great learning experience. As a SW engineer who's been writing Java code for years, I thought I knew most about object-oriented programming. interestingly, I had so much more to learn. The First Day: Realising How Much I Didn't Know Walking into the training room, I was confident. I mean, I'd been coding Java for several years. (all other colleagues went with me were senior java devs too) But within the first hour, it became clear that design patterns were more than just a fancy term developers throw around. The instructor started by breaking down what design patterns really mean. It's not just about writing code - it's about creating a common language for developers. Imagine being able to say "I'll use a Facade pattern here" and have every developer instantly understand your intention - hurray! What Exactly Did I L...

Ingiriya to Gelanigama - The Ratnapura expressway

The proposed Ratnapura expressway is to be constructed between Pelmadulla to Ingiriya and it would be connected to the Southern expressway’s Gelanigama interchange through the existing highway at Ingiriya, said Ports and Highways Deputy Minister Nirmala Kothalawala.  According to the official news portal of the government, the minister made this statement while attending the Ratnapura District development meeting held recently. The expressway, which is to be named the “Ruwanpura Expressway,” will span across 71 kilometers. Minister Senevirathne says that motorists traveling will be able to reach Pelmadulla within an hour via Moragahahena, Handapangoda, Horana, Ingiriya and Kiriella.  Highway from Ratnapura to Pelmadulla, highway in Ratnapura, Minister W.D.J. Seneviratne, New highway, Ratnapura highway

Java Performance Tuning and Optimization

I just followed a course from Oracle University, Course Name:  “Java Performance Tuning and Optimization Ed 1” Fine! It was a 3 full day course, learnt a lot. I thought to share some of with you guys. Learnt to blend tuning methodology, performance theory and practical tips on solving difficult performance problems for Java applications. Had an opportunity to hone on a series of labs derived from real performance tuning issues.. they all were well organized.  also learnt about various tools and mechanisms for monitoring, profiling and tuning Java applications. In the first discussion on Application performance I started to believe that “Speed up” ( speeding app in same infrastructure) comes before “Scale up” (vertical scalability like add more memory..) or “Scale out”(horizontal scalability like adding new server..). When it comes to performance tuning in an app server you should keep in mind known theory of that separate JVM is created for each Java application....

TM Forum Training

I was lucky to get a training on Business Process Framework(eTOM) from the TMForum. I just thought to share some knowledge with you guys. So what is this “Frameworx”? It is an enterprise wide set of disciplines to (telco)business processes. What Business Process Framework includes? 1)Standard process structure 2)some terminology 3)classification scheme What we can do with Business Process Framework?? It can use as a common language for system implementation, integration and procurement It can use as a standard structure, terminology and classification scheme for business processes Use as a discipline to the business process development design, develop and manage IT applications in terms of business process requirements  make end-to-end process flows, eliminating   duplications