vulab | Category Archive | Web Programming

Archive | Web Programming

Posted on 11 March 2017 by Srinivas Nelakuditi

REST Web Services With Java Spring Framework Part 6

In the last part of this series, you have built a web service with Jersey, Spring Framework and Spring Boot. In this part you will learn to integrate Swagger with REST Web Services. Swagger will help in automatically documenting your web services, publish your documents and easily allows you to test your web services.

Continue Reading

0 Comments

Posted on 06 December 2014 by Jawahar Jasthi

Pagination with Hibernate ORM or JPA

Pagination of search results is a common requirement for many applications .Database pagination allows you to go through a result set in manageable chunks. This is an important feature when a result set is large. Imagine if the user selects the first result of 500 results returned. Essentially 499 results were wasted. This very taxing […]

Continue Reading

0 Comments

Posted on 05 February 2014 by Srinivas Nelakuditi

Hello Apache Tomcat 8 What is New with you?

Apache Tomcat 8 is built for Java EE 7 Tomcat 8 supports Java Servlet 3.1, JavaServer Pages 2.3, Java Unified Expression Language 3.0 and Java Web Socket 1.0. The default connector is now (NIO), so expect better performance. Start using it today. Wish you happy coding for life. http://tomcat.apache.org/download-80.cgi Note: Vulab provides online java training, […]

Continue Reading

0 Comments

Posted on 05 February 2014 by Srinivas Nelakuditi

Hibernate 4 Second Level Cache

Hibernate is the best Object Relational Mapping tool in the market. You can also enhance the performance of hibernate further by using second level cache feature. I am making an assumption that you are already using Hibernate in your project and want to enable second level caching to improve performance Step 1: Make sure your […]

Continue Reading

0 Comments

Posted on 31 August 2012 by Srinivas Nelakuditi

Best Java Online Training

Vulab provides the best online & classroom training in java. Online Java Training

Continue Reading

0 Comments

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

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

Posted on 10 April 2012 by Srinivas Nelakuditi

Using new Tomcat JDBC Connection Pool

org.apache.tomcat.jdbc.pool is the new JDBC connection pool class available in tomcat 7. If you have been using commons dbcp you can try the new JDBC Connection Pool in tomcat and see if you can benefit from its functionality. There are plenty of advantages of using the tomcat 7 jdbc connection pool as described in the […]

Continue Reading

0 Comments

Posted on 09 April 2012 by Srinivas Nelakuditi

Web application development in the browser (Eclipse Orion) released.

Eclipse foundation has made available Orion tools for the web, on the web. You can develop future web applications on the web, test them and deploy them on the web to the cloud. Orion uses HTML5 and javascript. Orion is a very active open source project under the Eclipse top-level project. Orion’s objective is to […]

Continue Reading

0 Comments