Pages

Sunday, July 31, 2016

What is IOT?

I like this very simple explanation about IOT?

 it’s about connecting devices over the internet, letting them talk to us, applications, and each other.



It's interesting to see some IOT related videos from some of the IT Leaders which definitely broaden our knowledge about IOT.

Microsoft's Vision for IoT

IBM's Think Academy How It Works: Internet of Things






Lets do IOT

I remember my feelings when I wanted to study the Java Programming Language. Initially I started to read many books related to Java and did self studies and practicals. That was quite interesting. After some time I met the best Programming Gurus in Sri Lanka and definitely that was my turning point. So finally I end up my career as a Software Engineer - Java. That was year 1.5 decades back.

After a quite long time I am experiencing the same feelings for IOT(Internet of Things). These days mypocket is filled up lots of IOT stuff.





  I think i can do something interesting which brings me more happiness. That's the most important thing. and also I am a teacher so that i can deliver this knowledge to another young tech geeks who are eager to grab it.







So first I like to do a small analysis about the IOT arena. I think this is help full for a beginner who is walking through the same path. From today i list down the things i do related to IOT step by step with the resources.  



Tuesday, June 17, 2014

Working with Eclipse IDE for Java EE - Kepler Version with Spring IDE for Spring 4 developments

I wanted to work with the newest Eclipse IDE version for java EE with Spring. For that i used the following link to download the Kepler version of the IDE.

http://eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/keplersr2

Install the IDE and then to install the Spring IDE i came up with this link and according to that this is match with the downloaded IDE version.

http://marketplace.eclipse.org/content/spring-ide#.U5-szED1XXU

How to install it?

In the IDE click help--> Eclipse Market Place -->Type Spring IDE in the search Box.



 Click Install Button and follow the next steps.


 

Tuesday, August 13, 2013

Componentizing Applications with Layered Architecture | JAVA Developer's Journal

The following is a very good example which shows the use of layered architecture for developing applications and componentization nature which enables the physical reuse of the application components.

Componentizing Applications with Layered Architecture | JAVA Developer's Journal

Thursday, August 8, 2013

Patterns for problems

I have a the following problem in hand.

Customers are logging complaints continuously and they need to be solved by escalating to the relevant divisions. one problem is resolve the complaints at the correct target date and time. When the employees are unable to solve the complaints at the correct targeted date and time they need to be alert via emails and SMS.

Requirement are changing frequently what to do with these overdue complaints.
  • Some of them need to send alerts to the employees when they overdue.
  • Some of them need to send alerts through the employee hierarchy as first, second and third alerts.
  • Some of them need to send alerts to the some of the employees of different departments.
  • More in the future like select the most priority complaints and create a report periodically...
When going through this problem I was cling with the Observer Pattern.
In the Observer pattern there is a Subject which seems change and and an object which response to that change.

In my example
Overdue Complaint is the Subject
What you are going to with that is the Observer

or in a bulk level
List of Overdue Complaints is the Subject
The things you are going to do with these overdue complaints are the set of Observers


The following 2 links were very important to got the basic idea behind the observer pattern
http://www.javaworld.com/javaqa/2001-05/04-qa-0525-observer.html?page=2
http://www.codeproject.com/Articles/565642/Observer-design-pattern-in-java

Hope to publish the code when it is done.




Friday, April 19, 2013

Friday, March 29, 2013

Working with java RESTful Web Services 1

Since I hadn't had a chance to work with java web restful services i did some demos using the Eclipse Indigo and Tomcat web server and Weblogic 12.1.1 application server. There I used the following tutorials.

First I had to set up the Oracle web logic app server with the Eclipse IDE. But oracle provides the Combination solution and it is easy to set up even. I used the following couple of tutorials for that.



Then to do a simple demo using web services i used the following tutorials.

The following one is even better which consist of detail explanations 

This is about how to do it. But need to study the theory step by step.