arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Author

Jonathan Wetherbee

14 papers · 2013–2018

2013: 92014: 02015: 02016: 02017: 02018: 5
2013peak 9 in 20132018

Frequent co-authors

Papers

showing 1–14 of 14 RSS

EJB, Web Services, and Microservices

Jonathan Wetherbee, Massimo Nardone, Chirag Rathod +1 more

Computer Networks and Communications · Apress eBooks · · cited 2× · DOI ↗ · more like this ·

This chapter will explain Java EE 8Web Services and Microservices and their differences. We will introduce the core Web Services standards (SOAP, WSDL, UDDI, XML), and discuss the evolution of Web Services and Microservices support in the Java EE platform. We will also drill down into how you can publish EJB stateless session beans as Web services as well as how to invoke the published Web service from a command-line Java client program and a stateless session bean. Finally, we will show a short example about Microservices using the Spring Boot project.

EJB Message-Driven Beans

Jonathan Wetherbee, Chirag Rathod, Raghu Kodali +1 more

Artificial Intelligence · Apress eBooks · · cited 1× · DOI ↗ · more like this ·

This chapter discusses the need for message-oriented architecture. It introduces Java Message Service (JMS), the typical architecture for messaging applications, and details the concepts behind EJB message-driven beans (MDBs). The chapter also covers annotations, dependency injection, and interceptors in relation to MDBs.

Introduction to the EJB 3.2 Architecture & CDI Services

Jonathan Wetherbee, Massimo Nardone, Chirag Rathod +1 more

Computer Networks and Communications · Apress eBooks · · cited 0× · DOI ↗ · more like this ·

When we set out to write this book, our goal was to present Enterprise JavaBeans (EJB) to developers, with a keen eye toward how this technology can be used in everyday, real-world applications. JSR-345: Enterprise JavaBeansTM, Version 3.2 EJB Core Contracts and Requirements is a deep spec that addresses the needs of beginning developers and hardcore power users alike. That’s a large audience to satisfy and, as a reference guide, the EJB spec document covers it well. In writing a book about how to use EJB, we had to narrow our audience; nonetheless, we believe that we’ve written a book that will serve the needs of a majority of Java EE developers.

Transaction Management

Jonathan Wetherbee, Massimo Nardone, Chirag Rathod +1 more

Information Systems · Apress eBooks · · cited 0× · DOI ↗ · more like this ·

Much of the work surrounding the design and development of enterprise applications involves decisions about how to coordinate the flow of persistent data. This includes when and where to cache data, when to apply it to a persistent store (typically the database), how to resolve simultaneous attempts to access the same data, and how to resolve errors that might occur when an action occurs that violates a constraint in the database. A reliable database is capable of handling these issues at a low level—in the database tier—but these same issues can exist in the middle (application server) and client tiers as well, and typically require special application logic. For example, a database provides built-in concurrency control through pessimistic locking support, whereas an application may choose to use an optimistic locking strategy to achieve a result more optimized for performance.

EJB Client Applications

Jonathan Wetherbee, Massimo Nardone, Chirag Rathod +1 more

Computational Theory and Mathematics · Apress eBooks · · cited 0× · DOI ↗ · more like this ·

The Java EE platform provides flexibility on how components can be distributed across different tiers and architectures. You can choose the right architecture and programming model based on the application or configuration requirements. In this section, we will look at the different architectures and programming models that you can use.

EJB Performance and Testing

Jonathan Wetherbee, Massimo Nardone, Chirag Rathod +1 more

Statistics and Probability · Apress eBooks · · cited 0× · DOI ↗ · more like this ·

As developers, we are always trying to find the most efficient way to write code that delivers the highest performance. Over the years, we have learned that some of the assumptions we make are not always right and that certain programming models and techniques that we use do not achieve the expected level of performance. The surprise here is that most of the time, our expectations are defeated with models and techniques that our logic and gut feelings tell us are best.

Introduction to the EJB Architecture

Jonathan Wetherbee, Chirag Rathod, Raghu Kodali +1 more

Computer Networks and Communications · Apress eBooks · · cited 0× · DOI ↗ · more like this ·

When we set out to write this book, our goal was to present Enterprise JavaBeans (EJB) to developers, with a keen eye toward how this technology can be used in everyday, real-world applications. JSR-345: Enterprise JavaBeans TM , Version 3.2 EJB Core Contracts and Requirements is a deep spec that addresses the needs of beginning developers and hardcore power users alike. That’s a large audience to satisfy and, as a reference guide, the EJB spec document covers it well. In writing a book about how to use EJB, we had to narrow our audience; nonetheless, we believe that we’ve written a book that will serve the needs of a majority of Java EE developers.

Testing in an Embeddable EJB Container

Jonathan Wetherbee, Chirag Rathod, Raghu Kodali +1 more

Software · Apress eBooks · · cited 0× · DOI ↗ · more like this ·

As with all mission-critical software, EJB components must be well tested before they are deployed into a production environment. The finest level of granularity in an EJB is its method; so proper unit tests must test each method of each EJB in isolation. For stateless Session beans, this is typically sufficient. Because a stateful Session bean may also contain state, full coverage additionally requires inclusion of more coarse-grained scenarios as well, involving sequences of method calls. When a stateless Session bean effectively stores “state” information in a database, as through JPA entities, multistep test scenarios are generally also required. In this chapter, we will look at both single-method and multi-method tests, covering stateless and stateful Session beans serving primarily as service interfaces for JPA-based operations.

Transaction Support in EJB

Jonathan Wetherbee, Chirag Rathod, Raghu Kodali +1 more

Computer Networks and Communications · Apress eBooks · · cited 0× · DOI ↗ · more like this ·

Much of the work surrounding the design and development of enterprise applications involves decisions about how to coordinate the flow of persistent data. This includes when and where to cache data, when to apply it to a persistent store (typically the database), how to resolve simultaneous attempts to access the same data, and how to resolve errors that might occur when an action occurs that violates a constraint in the database. A reliable database is capable of handling these issues at a low level—in the database tier—but these same issues can exist in the middle (application server) and client tiers as well, and typically require special application logic. For example, a database provides built-in concurrency control through pessimistic locking support, whereas an application may choose to use an optimistic locking strategy to achieve a result more optimized for performance.

Entities and the Java Persistence API

Jonathan Wetherbee, Chirag Rathod, Raghu Kodali +1 more

Information Systems · Apress eBooks · · cited 0× · DOI ↗ · more like this ·

Now that you have explored how EJB provides business services through session beans, we’ll turn your attention to a different kind of component called entities, which are classes that represent tables in a database, and whose instances represent rows in those tables. Whereas session beans provide services to a client application, entities represent the business data. A common pattern is for a session bean to provide a convenient interface for manipulating entities in the context of transactional, security, access control, and other enterprise services. Methods to perform Create, Retrieve, Update, and Delete operations, also known as CRUD methods, are exposed on a session bean to the client to provide a “façade” pattern that we will use throughout the book.

EJB Packaging and Deployment

Jonathan Wetherbee, Chirag Rathod, Raghu Kodali +1 more

Computer Networks and Communications · Apress eBooks · · cited 0× · DOI ↗ · more like this ·

Until now, we have focused on how to build EJBs, Java Persistence API (JPA) entities, and their clients, for exploiting the surrounding enterprise services offered by the EJB container. In Java EE parlance, these tasks fall under the role of Application Component Provider, which is simply referred to as the Provider. In this chapter, we explore the topics that surround the process of packaging your components into modules and library components, binding external references declared in your Java EE components to actual resources in your server environment, and sending it all off to an application server so that the components can be executed at run time by an application. These responsibilities are handled by the Java EE roles of the Application Assembler (the Assembler) and the Application Deployer (the Deployer). While in practice it is common for a single individual to perform one or…

EJB 3 Performance and Testing

Jonathan Wetherbee, Chirag Rathod, Raghu Kodali +1 more

Computer Networks and Communications · Apress eBooks · · cited 0× · DOI ↗ · more like this ·

As developers, we are always trying to find the most efficient way to write code that delivers the highest performance. Over the years, we have learned that some of the assumptions we make are not always right and that certain programming models and techniques that we use do not achieve the expected level of performance. The surprise here is that most of the time, our expectations are defeated with models and techniques that our logic and gut feelings tell us are best.

Contexts and Dependency Injection

Jonathan Wetherbee, Chirag Rathod, Raghu Kodali +1 more

Computer Networks and Communications · Apress eBooks · · cited 0× · DOI ↗ · more like this ·

In this chapter, we will discuss Contexts and Dependency Injection (CDI). CDI provides powerful services to glue the various tiers of the Java EE framework together. The first public draft of Java Contexts and Dependency Injection for the Java EE Platform , as defined in JSR 299, was made public in 2008. During the initial development phase, the JSR 299 specification was called Web Beans . After the specification was renamed to Contexts and Dependency Injection, the initial reference implementation was given the name Web Beans . The use of the same name, Web Beans, in two different contexts created some confusion among the community members, and this led to the renaming of the reference implementation from Web Beans to Weld . CDI builds upon the Interceptor Specification (JSR 318), the Managed Bean Specification (JSR 316), and the Dependency Injection for Java Specification (JSR 330).

Integrating Session Beans, Entities, Message-Driven Beans, and Web Services

Jonathan Wetherbee, Chirag Rathod, Raghu Kodali +1 more

Information Systems · Apress eBooks · · cited 0× · DOI ↗ · more like this ·

Previous chapters in this book covered the individual components of EJB and related technologies. These included session beans, message-driven beans (MDBs), stateless session beans as Web services, and JPA entities. In this chapter, we will show you how to integrate these components into a complete Java EE 7 application using a fictitious wine store application as an example.