vulab | Monthly Archive | May

Archive | May, 2012

Posted on 12 May 2012 by Srinivas Nelakuditi

Websockets with tomcat 7

Apache tomcat team recently added websocket support to tomcat. WebSocket is a web technology providing for bi-directional communications channels over a TCP connection. WebSocket is designed to be implemented in web browsers and web servers, but it can be used by any client or server application. The WebSocket protocol makes possible more interaction between a […]

Continue Reading

0 Comments

Posted on 12 May 2012 by Srinivas Nelakuditi

Tips and Tricks to write better articles (not coding!!)

Recently I was helping a colleague to write an article for html5rocks. We used tips from Kevin at google to write the article. Use the tips for your own blog or article. These are the same industrial-strength tips used by 9 out of 10 technical writers. (That one writer who doesn’t follow the rules explains […]

Continue Reading

0 Comments

Posted on 12 May 2012 by Srinivas Nelakuditi

Encryption with java

Security is one of the most important aspect of any web or mobile application. It is a very common practice to encrypt sensitive information like passwords in the database. Jasypt library is a good and simple solution for any java project to have encryption capability. Jasypt is a very advanced library with support for integrating […]

Continue Reading

0 Comments

Posted on 12 May 2012 by Srinivas Nelakuditi

Spring MVC 3 returning JSON to Web User Interface

Spring MVC can return data in the JSON format to your front end. You can use jQuery to make ajax requrest to the MVC controller and controller can return the data in json format. Let us see how this can be acheived. Assuming you are using Maven for dependency management. Add this dependency to your […]

Continue Reading

0 Comments