Subscribe via RSS Feed

J2ee Applications

Set up Apache Kafka and working with Java Client

May 15, 2015 0 Comments
Set up Apache Kafka and working with Java Client

Apache Kafka Apache Kafka is a publish/subscribe messaging system, which is fast, distributed and having persisting data store over multiple clusters. In our work, we needed to up Apache kafka for continuous data streaming. Here we have shown the basic work to setup Kafka and building a java client (producer) to send message and get […]

Continue Reading »

Some Map-Reduce Application Examples and Ideas

June 13, 2013 0 Comments
Some Map-Reduce Application Examples and Ideas

Recently we have studied and applied map-reduce framework to solve different types of problem of selecting and grouping of data for analysis in different directions. We have posted some of our posts to understand Big Data and Map-Reduce programming – How Big Data Can Help Small Organisations? Map Reduce Programming – Concise Definition Map Reduce […]

Continue Reading »

Map Reduce Programming – Concise Definition

June 10, 2013 2 Comments
Map Reduce Programming – Concise Definition

Above is a visual representation of map – reduce framework. Map-reduce is a programming technique to solve any aggregation-grouping-summation related problem, where we have huge amount of data and try to do the above operation in parallel in no of distributed machines. In map function/s, we will collect the frequency of data after processing on […]

Continue Reading »

Backbone.js View in Client Side Javascript MVC – with Java based Web Project – Part 3

April 28, 2013 4 Comments
Backbone.js View in Client Side Javascript MVC – with Java based Web Project – Part 3

This article is extension of Backbone.js based Application with Java based web project. The project code can be downloaded here. Backbone.js views are used to render client side application data model. They are used to listen events and work as per that. We will explain view functionality with JavaScript template library within our application for […]

Continue Reading »

Backbone.js Router in Client Side Javascript MVC – with Java based Web Project – Part 2

April 28, 2013 3 Comments
Backbone.js Router in Client Side Javascript MVC – with Java based Web Project – Part 2

This article is extension of Backbone.js based Application with Java based web project. The project code can be downloaded here. In Backbone.js Javascript MVC Frameworks, router are used to navigate web site URL’s by using hash tags(#). All routers in Backbone.js contain route and function to map to that route. In our case, the route […]

Continue Reading »

Backbone.js in Client Side Javascript MVC – with Java based Web Project

April 27, 2013 2 Comments
Backbone.js in Client Side Javascript MVC – with Java based Web Project

This article is extension of Backbone.js based Application with Java based web project. The project code can be downloaded here. In Backbone.js Javascript MVC Frameworks, The Model is referred to the intermediate data holding objects in client side which is required for data manipulation, validation on client side, fetching data from server side and finally […]

Continue Reading »

Developing Java REST web applications with Backbone.js

April 26, 2013 3 Comments
Developing Java REST web applications with Backbone.js

Recently in our J2ee based web application development, we had explored Javascript MVC frameworks to develop structured User Interface Development. Within javascript frameworks, we have found sufficient documentation for Backbone.js to develop sample Proof of Concept with J2ee based Application Back End. We are writing post as we have not found a full-fledged Java based […]

Continue Reading »

A Complete J2ee Project UML

April 19, 2013 0 Comments
A Complete J2ee Project UML

I have created UML for Different Projects in my earlier works.  I thought that it is worth to share a complete Project UML which is based on some imaginary scenario on a flight system. I had created it earlier for my Sun Certified Enterprise Architect Examination. Below are the Content links – Project Introduction Class Diagram Component […]

Continue Reading »

Jasper Report Server – Architecture as we revealed in our work

March 3, 2013 1 Comment
Jasper Report Server – Architecture as we revealed in our work

In previous projects we have worked with Jasper Reports Server Community Edition. From our experience, we have revealed that, it is a standalone report server i.e. a reporting container bundled in a Web Server. We can design the reports using IReport Designer and can deploy those reports in JasperReports Server. We can have out-of-the box […]

Continue Reading »

J2ee Web Project Guidelines – some points that should not be ignored

March 1, 2013 0 Comments
J2ee Web Project Guidelines – some points that should not be ignored

In earlier J2ee Web Projects, we have made some standards, which may be followed in future projects with required modifications and alterations in approach. We are pointing those as below – General Points – The underlying technical architecture will follow N-tier Architecture. The System will be designed with Windows web application interface. (Modern Projects should […]

Continue Reading »

Liferay Portal – Practical Introduction – Updated for Liferay 6.1

February 20, 2013 0 Comments
Liferay Portal – Practical Introduction – Updated for Liferay 6.1

Though I am working in Open Souce Technologies for last 7-8 years, Development with Liferay Protal is relatively new to us. What we see from our little experience in Liferay, (working with version 6.1),  it is a portal development framework with Web Content Management – Content Management System and also having a framework to develop […]

Continue Reading »

Inter Portlet Communication in Liferay Portlets

February 20, 2013 1 Comment
Inter Portlet Communication in Liferay Portlets

We have shown below a way of IPC in Liferay using public render parameter – 1> Made first portlet AaginIPCSend (from where the parmaters are to be shared) – here I have overridden two methods – public void doView(RenderRequest renderRequest, RenderResponse renderResponse)throws IOException, PortletException { try { PortletURL addName = renderResponse.createActionURL(); renderRequest.setAttribute(“addNameUrl”, addName.toString()); System.out.println(“Are we […]

Continue Reading »

BerkleyDB XML Database Manipulation with Java

February 18, 2013 0 Comments
BerkleyDB XML Database Manipulation with Java

As I have made experience with XML Database manipulation with BerkleyDB in J2ee Projects, I am mentioning some of the Jist Code example for BerkleyDB XML Database manipulation with the respective API – …. private XmlManager mgr = null; //BerkleyDB XML Data Manager …. //Prepare XML Database configuration public void prepareXMLManager() throws Exception { try{ […]

Continue Reading »

Liferay Portal Development with Responsive CSS

February 18, 2013 1 Comment
Liferay Portal Development with Responsive CSS

In today’s complex development world, we need responsive design in almost every project. So we are not in exception with Liferay Projects also, which is mainly portlet based development. From developer perspective, we are not very good designer, but we need to know some of te HTML5, CSS tricks in our work. I have customised […]

Continue Reading »

Highchart in Liferay Portlet

February 14, 2013 1 Comment
Highchart in Liferay Portlet

We have experienced some work related to Liferay Portlet and Highchart.js in our recent development. The output in Portlet is  – I am sharing the coding requirement here. It is a price comparison data for years. In the Portlet, I have made use of java collection framework to facilitate Highchart Data Structure. Portlet Coding – [code language=”java”]<br […]

Continue Reading »

Some Problems and Work-Around in Liferay 6.0

February 12, 2013 1 Comment
Some Problems and Work-Around in Liferay 6.0

We have faced some general problem in Liferay 6.0 and found some workaround from google. I thought about those problems-workaround are worth to mention as a list in a separate article. Also to mention, as the I will be more familier with liferay development, I will update the list also. The problems I faced in […]

Continue Reading »

Liferay Layout Template Creation

February 11, 2013 2 Comments
Liferay Layout Template Creation

To create fresh template for Liferay, We suggest new  Project for Template Creation. In Eclipse (bundled with Liferay) 1> Create new Liferay Project 2> Select New -> Liferay Layout Template for the Selected Project. 3> We can even select an initial template for this template creattion. 4> Design in Template is purely drag and drop […]

Continue Reading »

Liferay Theme Creation

February 10, 2013 1 Comment
Liferay Theme Creation

In Liferay Theme creation, the main process is same as the Layout Template Creation Process. Here in Liferay-Eclipse IDE 1> Create a new Liferay Project. 2> Select “Theme” radio button for this. 3> On clicking finish we will have the Default Theme project 4> When we build the “all” target in the Ant Build file, […]

Continue Reading »

Liferay Service builder – Step by Step

February 8, 2013 1 Comment
Liferay Service builder – Step by Step

Liferay Service Builder is a specific feature in Lifray 6.0 which facilitate us database centric Development. In Liferay Eclipse IDE, 1> Select a new Service Builder Option 2> Create package path and namespace for the service builder 3> Clicking on finish, it will make a Service.xml file for which the Structure will be – <entityname=“Foo”local-service=“true”remote-service=“true”> […]

Continue Reading »

Liferay Portlet Session – an example

February 7, 2013 1 Comment
Liferay Portlet Session – an example

In Liferay, when we need two or more portlets to be communicated and change on one portlet value will change another portlet value, we may use the portlet session variable in Liferay Portal Development Lifecycle. We have used such application scenario in our recent development in Liferay portal. So how have we done this? Below is […]

Continue Reading »