Java frameworks - Spring,Hibernate,TrutsGoogle web toolkit (GWT),JavaServer faces (JSF),Grails,Vaadin,Blade,Dropwizard,Play.

Programming languages or concepts

 Java framework:

  Java framework bodies of pre-writing code using bi developers to create apps using the Java programming language.

  Java framework is a body of pre-written code that act as a template which a developer can then used to create an application by filling in their own code as needed to get the app to work as they intend it to.

  Java framework is a type of re more specific to the Java programming language used as a platform for developing software application and Java programs.

 a framework is created to be used over and over so that developers can program their application without the manual or head of creating every line code from scratch.

   What are the Java framework?
   Types of Java frameworks
  •      Spring
  • Hibernate
  • Truts
  • Google web toolkit (GWT)
  • JavaServer faces (JSF)
  • Grails
  • Vaadin
  • Blade
  • Dropwizard
  • Play.


What are the Java framework?

        Java framework our bodies of Pre written code used by developer to create apps using the Java programming language. A framework is body of return code that act as a template which developer can there used to create an application by filling in their own code as needed to get the app to work as they instant it to.

You make use of a framework by calling its methods, inheritance, listener, other implementation of the patterns.

 Some framework even supply so much code that you you have to do everything little to write your application.

 Framework are the substance of programming, some of the more popular are 

  •      Spring
  • Hibernate
  • Truts
  • Google web toolkit (GWT)
  • JavaServer faces (JSF)
  • Grails
  • Vaadin
  • Blade
  • Dropwizard
  • Play.


Java framework is a collection of predefined classes and functions that is used to process input manage hardware devices interact with system software.

IT act like a skeleton that helps the developer to develop an application by writing their own code.

1) Spring:

       Spring is a light weighted, powerful Java application development framework. It is used for JEE. Spring is other models are spring security, spring MVC, spring batch, spring ORM, spring boot and spring cloud extra.

Advantages:

  •    Loose coupling
  • Lightweight
  • Fast development
  • Spring is easy to test
  • Powerful abstraction

Spring framework uses:

  •  Web application development
  • Spring is features can be used to create any Java application.
  • It is also used in enterprise Java (JEE).


this framework can be used for all layers implementation of real time application.

It is described as a complete modular

framework.


2) Google Web Toolkit (GWT):

      Google web toolkit is a completely free open source framework that helps the developer to write client side java code & establish it is JavaScript.

 A lot of Google product are writen using GWT such as Adsense, Google wallet &Blogger.

  The advantage to use GWT is that we can easily develop & debug Ajax application.

Advantages:

  • It employs resuability for web application development.
  • We can use Google API to develop application.


     3) Hibernate:

      Hibernate is ORM (object-Relation Mapping) framework that allows us establish communication between java programming language and the RDBMS.

When you work with an object oriented language like java, you will encounter a problem called paradigm mismatch.

Advantages:

  •      Portability
  • Productivity
  • Maintainability
  • Free & open source framework
  • It removes a lot of repetitive code from the JDBC API.


4) Struts:


Struts- Java frameworks - EdurekaThis is another enterprise-level framework, maintained by the Apache Software Foundation (ASF).

 This fully-featured Java web application framework that allows the developers to create an easy-to-maintain Java application. There are two versions. Struts 1 and Struts 2. Struts 2 is the combination of webwork framework of OpenSymphony and Struts 1. But all the companies prefer using Struts 2 because it is the upgraded version of Apache Struts.


Uses:


The Struts 2 framework is used to develop an MVC-based web application

It uses and extends the Java Servlet API to help developers to adopt MVC architecture.


5) play:

      This is a reactive web and mobile framework for highly scalable Java applications. Play a makes it possible to developed light weighted and web friendly Java and scala application for desktop and mobile interface.

Play is a unique Java framework as it does not rely on the Java EE standards.it is 10 compared with a powerful framework of other languages like a Ruby on rails  for Ruby, aur aur Django for python.


Advantages:

  •   It support non blocking I/O which is crucial for high performance applications.
  •  More flexible

  • Failure to learnt returns.


6) Dropwizard:

    Dropwizard is a high-performance java framework for rapid development of REST ful web services. It is specially suitable for creating Java microservices.

 Dropwizard is a separate ecosystem that contain all the dependencies bundled into a single package.

 Advantages:

  •    You can easily perform rapid prototypes.
  •    Quick project bootstrap
  •     Increase in productivity.


7) Vaadin:

        Vaadin is a web application framework which focus on UI accessibility.

   Vaadin provides you with a platform for streamlined Java development.

    It gives you Direct access to the DOM from the Java virtual Machine.

   Vaadin also has a light weighted Java framework called word in framework that handles routing and server client communication.


Advantages:

  Vaadin gives an opportunity to bind the data using either MVC or MVP.

  Automatic server client communication with websocket support.

  Uses Java aur HTML for building views, data binding, build in Spring support.


Tags:
close