Nov 29, 2014

JSF vs RESTofWorld

I believe Java developers long enjoyed quick learning and developing curve of JSF, and developed presentation layer.
No doubt development using JSF was fast. Because same Jave EE resources can be reused, tools were available, and everything was standard. From 2005 to 2010, JSF saw huge success adn was preferred technology for developing presentation layer. But with increasing popularity of smart devices like smartphones and tablets; demand started for more and more adaptive & responsive UI. And this is where we have HTML5 with Javascript frameworks like AngularJS to meet demands of high standard UI's, devices & their sizes. 2010 on-wards suddenly we started seeing attractive UI, and some UI's are so attractive that they will encourage you to buy something, like "", "", etc. You can view these sites on your mobile, tablet, or on desktop and you will have superb experience. No doubt they are not developed in JSF. Not only retail but banking sites also becoming more Spectacular. I work for a bank, and we replaced complete presentation layer developed in JSF with new HTML5+CSS+backboneJS+etc. technology stack.

Java EE is still used but for developing Business layer, and communication between business layer and UI happens via RESTful services, which have gained huge success in past few years.

Smartphones also increased demand for creating mobile applications, which was cheaper compared to making existing online site adaptive & responsive. But a company will never get rid of online site, and looking at what nixon, greygoose, and others have done. Its best to have both - "a mobile app" and "adaptive & response UI" in 2014 and 2015. But things will change in 2015 on-wards, when wearable technologies will have bigger market share. Smartwatches will become popular, and we will need to cater customers using Smartwatches or Google Glass. Its a new world.

Bottom line is you are designing now, you should take extreme precaution while deciding on using JSF. If you are going to use JSF, then you should have distant vision and reason behind using it.
Indeed latest designs i see today are more like below -

A common proverb in India is "BHED-CHAL(All following blindly others footsteps)", 1 year back Angular.js has 20% market share of javascript frameworks, but now I think it might be 80%, may be because of Google support.
Similar thing happened for JSF, its market share is shrinking and many don't want to use without any valid reason.
And most of the designers running away from JSF are those who used JSF 1.x, and probably they didn't had time to understand JSF 2.2.
I believe I will still use JSF because of multiple reason (faster development and gentle debugging), but I need a best of best JSF implementation. And I see one is Prime Faces (


Nov 27, 2014

Sarnath - Buddham saranam gacchami - I go to the Buddha for refuge

Sarnath is small town located in Varanasi.
So, if you are visiting Varanasi, you can also plan visiting Sarnath.
Its not exactly in city, but its almost touching city.
Sarnath is very famous among people following Buddhism,
since Gautam Budha came to this place to give his first preach and tought Dharma for first time after getting enlightenment.

Its a small deer park in sarnath, where Buddha preached 5 monks, called Isipatana.
Isipatana is mentioned by the Buddha as one of the four places of pilgrimage which his devout followers should visit
(Source - "")
While staying at Isipatana, Budha taught several suttas including Dhammacakkappavattana  Sutta.

A trip to sarnath includes getting to know more about buddhism. Not to mention it is place visited by all budhists.
But, if you are not budhist, you will have interest in
- Dhamek Stupa
- Ashok Pillar
- Museum
- Budhist temples build by different countries like Japanese, Thai, Myanmar, Japenese, etc.
- Ruins of ancient Buddhist monasteries.

When you reach sarnath, you should have museum on your right and Ticket counter on your left side of road, from you will buy tickets to visit
Dhamek Stupa and also museum.
museum is on one side of road, which also has the Ashok Pillar inside.
Other side is gate to enter to visit Dhamek Stupa, around Dhamek stupa are ruins of ancient budhist monastries, and also Deer Park.
Now above was the must, and optionally other temples can be visited by walking around. All are walking distance.

Note - Please avoid going in summer and prefer visiting in between November to February.
Also don't visit on weekends or holidays.

Below are some maps that will help guide your itinerary.

In below map you can see Museum and on the opposite of road is Dhamek Stupa. There are small gates on opposite side of roads to enter museum and Anciet site. Entry to main temple is from another gate. You will have to come back on road and walk to entrance of Main temple. Around 100 meters from Main temple on the road is UP Tourism hotel called "Rahi Tourist Bungalow", a nice and affordable place to stay.

Below is the museum from outside.

Dhamek Stupa -

 Main temple of sarnath -

Trees you see below are called Ashok trees

© Technology Development with Java background | All rights reserved.
Blogger Template Crafted by pipdig