The spring framework, simply spring is an open source application framework which provides excellent features such as Inversion of Control(IoC), support for Aspect Oreinted Programming, MVC support for web application development and distributed transact management that simplify the development of Java based enterprise applications, and thus it became as a dominant framework in industry for enterprise computing.
Additional Info
  • Publisher: Laxmi Publications
  • Language: English
  • ISBN : 978-93-84872-61-8
  • Chapter 1

    Contents

    Contents

  • Chapter 2

    Preface

    Preface

  • Chapter 3

    Chapter 1 - Spring Core Concepts Price 0.11  |  0.11 Rewards Points

    The Spring Framework (simply Spring) is a layered open-source application framework for Java platform; simplifying Java Enterprise Edition application development by its excellent features such as Inversion-of-Control (IoC), Aspect Oriented Programming, and Transaction Management.

  • Chapter 4

    Chapter 2 - Spring JDBC Support Price 0.11  |  0.11 Rewards Points

    Spring Framework supports and simplifies JDBC programming; it manages the basics to work with JDBC such as opening/closing of database connections, preparation/execution of SQL statements, transaction management, and exception handling. Spring provides an abstract exception layer, which catches all the application server specific exceptions and throws Spring equivalent exceptions (not depend on the underlying database).

  • Chapter 5

    Chapter 3 - Dao and Transaction Management Price 0.11  |  0.11 Rewards Points

    The Data Access Object (DAO) is a design pattern, provides abstract interface to a database (any persistence storage). DAO separates a data resource's client interface from its data access mechanisms, so it is easy to handle code while switching to other database systems. The Object Relational Mapping (ORM) is technique to map (convert) data represented in Object Oriented Programming Languages into Relational database and vice versa. Spring provides support to DAO and popular ORM frameworks such as Hibernate and iBATIS. Hibernate is an open source Java based ORM framework.

  • Chapter 6

    Chapter 4 - XML Marshalling Price 0.11  |  0.11 Rewards Points

    The Object-XML Mapping (O/X Mapping) is a process of converting an object (Java object…) into XML and vice versa. This is also called as ‘XML Marshalling’, ‘XML Serialization’ or ‘XML Binding’. In technical terms, marshalling is the process of serializing an object into XML and unmarshalling is the process of deserializing the XML into object.

  • Chapter 7

    Chapter 5 - Spring AOP Price 0.11  |  0.11 Rewards Points

    The word ‘Aspect’ in Software development refers to the ‘unit of modularity’ of any cross-cutting concerns within the applications such as logging, transaction management, locking, event handling, and applying security on the applications. We can separate the logging related code in an application to a separate entity (module), this is one ‘Aspect’ and concern is logging. Likewise, we can separate the concern on transaction based
    activities in the entire application, this is another aspect. Thus aspects are derived bases on concerns, cohesive areas of functionality.

  • Chapter 8

    Chapter 6 - Job Scheduling Using Quartz Price 0.11  |  0.11 Rewards Points

    In many applications, it is required to execute certain jobs and tasks (specific functionalities – batch works) at an specified time or at regular  Intervals of time; at once or repeatedly. Even though, many Operating Systems provide support for scheduling functionality, they are not control over through code. There are also a plenty of job scheduling techniques and libraries are available for cross-platforms. Among all, Quartz scheduler is one of the popular and efficient job scheduling tools in Java.

  • Chapter 9

    Chapter 7 - Java Message Service JMS Price 0.11  |  0.11 Rewards Points

    The Java Message Service (JMS) is a Java support for Message Oriented Middleware (MOM) solution; provides asynchronous communication between client and server on client-server applications. In asynchronous communication mode, the client is not needed to wait until the server responses for its request; the client can proceed its operation and consume the response of the server through message queues. JMS is the concept by Sun Microsystems, where many vendors implemented it; those implementations are known as “JMC Provider” (aka Message Broker), Apache Active MQ is one of the most popular message brokers for Java and it is also an open-source.

  • Chapter 10

    Chapter 8 - Java Management Extensions JMX Price 0.11  |  0.11 Rewards Points

    Java Management eXtension (JMX) is a way to monitor and manage Java applications at runtime. The bean classes, whose objects can be accessed  0utside of the application at runtime, are called “Managed Beans” (MBeans). For example, we can access the value of attributes and methods of any MBean outside the running application.

  • Chapter 11

    Chapter 9 - Accessing E-Mails Price 0.11  |  0.11 Rewards Points

    Spring provides API to send/receive e-mails. All the e-mails are stored in email server; we can send/receive mails to/from this email server. The SMTP (Simple Mail Transfer Protocol) is a mail protocol that is used to deliver emails from email client (such as Outlook, even any mail sending application) to the email server and used to deliver emails from one email server to another. Normally, SMTP uses port 25.

  • Chapter 12

    Chapter 10 - Unit Testing With Junit And Spring Price 0.11  |  0.11 Rewards Points

    Unit Testing is Software testing process in which the smallest specific functionality of an application, called a unit, is tested to determine whether it behaves exactly as expected. It applies to various smallest testable parts of the application. It can be done manually, or automatically using test automation tools such as JUnit and TestNG.

  • Chapter 13

    Chapter 11 - Web Application Development With Spring WebMVC Price 0.11  |  0.11 Rewards Points

    Spring Framework provides its own Model-View-Controller (MVC) web framework, which acquires Spring’s features such as Inversion of Control (Dependency Injection), and it highly decouples the component dependencies and simplifies the configuration and development of flexible loosely coupled web applications.

  • Chapter 14

    Chapter 12 - Web Services Price 0.11  |  0.11 Rewards Points

    A Web Service is an application functionality service that can be accessed by any application via standard Internet Protocols such as HTTP. In a simple term, any procedures (methods in Java) in a web application can be accessed by any other application, which is developed on any programming tool and running on any platform, via web using Web Services. Web Services are using XML as data exchange format, and the XML format is supported by all modern programming languages. Here, the word “service” refers the endpoint of a connection of web applications (programming functionality).

About the Author

Other Books by Author