Listing 1 - 10 of 783 << page
of 79
>>
Sort by

Book
Chapter Dynamic Dispatch for Method Contracts Through Abstract Predicates
Author:
Year: 2017 Publisher: [Place of publication not identified] : Springer Nature,

Loading...
Export citation

Choose an application

Bookmark

Abstract

Dynamic method dispatch is a core feature of object-oriented programming by which the executed implementation for a polymorphic method is only chosen at runtime. In this paper, we present a specification and verification methodology which extends the concept of dynamic dispatch to design-by-contract specifications. The formal specification language JML has only rudimentary means for polymorphic abstraction in expressions. We promote these to fully flexible specification-only query methods called model methods that can, like ordinary methods, be overridden to give specifications a new semantics in subclasses in a transparent and modular fashion. Moreover, we allow them to refer to more than one program state which give us the possibility to fully abstract and encapsulate two-state specification contexts, i.e., history constraints and method postconditions. Finally, we provide an elegant and flexible mechanism to specify restrictions on specifications in subtypes. Thus behavioural subtyping can be enforced, yet it still allows for other specification paradigms. We provide the semantics for model methods by giving a translation into a first order logic and according proof obligations. We fully implemented this framework in the KeY program verifier and successfully verified relevant examples. We have also implemented an extension to KeY to support permission-based verification of concurrent Java programs. In this context model methods provide a modular specification method to treat code synchronisation through API methods.


Book
The elements of Java style
Authors: ---
ISBN: 0511585853 0511003390 9780511003394 9780511585852 9780521777681 Year: 2000 Publisher: Cambridge : Cambridge University Press,

Loading...
Export citation

Choose an application

Bookmark

Abstract

The Elements of Java Style, written by renowned author Scott Ambler, Rogue Wave Software Vice President Alan Vermeulen, and a team of programmers from Rogue Wave, is for anyone who writes Java code. While there are many books that explain the syntax and basic use of Java, this book, first published in 2000, explains not just what you can do with the syntax, but what you ought to do. Just as Strunk and White's The Elements of Style provides rules of usage for the English language, this book provides a set of rules for Java practitioners to follow. While illustrating these rules with parallel examples of correct and incorrect usage, the book provides a collection of standards, conventions, and guidelines for writing solid Java code which will be easy to understand, maintain, and enhance. Anyone who writes Java code or plans to should have this book next to their computer.


Book
RESTful Java web services security : secure your RESTful applications against common vulnerabilities
Authors: ---
ISBN: 1783980117 9781783980116 1322008531 9781322008530 1783980109 9781783980109 Year: 2014 Publisher: Birmingham, England : Packt Publishing,

Loading...
Export citation

Choose an application

Bookmark

Abstract

A sequential and easy-to-follow guide which allows you to understand the concepts related to securing web apps/services quickly and efficiently, since each topic is explained and described with the help of an example and in a step-by-step manner, helping you to easily implement the examples in your own projects. This book is intended for web application developers who use RESTful web services to power their websites. Prior knowledge of RESTful is not mandatory, but would be advisable.


Book
WildFly performance tuning : develop high-performing server applications using the widely successful WildFly platform
Authors: --- ---
ISBN: 1783980575 9781783980574 1306901847 9781306901840 1783980567 9781783980567 9781783980567 Year: 2014 Publisher: Birmingham, [England] : Packt Publishing,

Loading...
Export citation

Choose an application

Bookmark

Abstract

Packed with practical examples, this book looks at a different aspect of performance tuning in each chapter and shows you how to apply them to their existing Java applications. Anyone with an interest in learning more and improving the performance of Java-based technology in general, all the way to WildFly in particular, will find this book useful.


Book
Java EE 7 development with WildFly
Authors: --- ---
ISBN: 1782171991 1322570132 9781322570136 9781782171997 9781782171980 1782171983 Year: 2014 Publisher: Birmingham, England : Packt Publishing,

Loading...
Export citation

Choose an application

Bookmark

Abstract

If you are a Java developer who wants to learn about Java EE, this is the book for you. It's also ideal for developers who already have experience with the Java EE platform but would like to learn more about the new Java EE 7 features by analyzing fully functional sample applications using the new application server WildFly.


Book
Mastering software testing with JUnit 5 : comprehensive guide to develop high quality Java applications
Author:
ISBN: 1787124398 9781787124394 9781787285736 Year: 2017 Publisher: Birmingham, England ; Mumbai, [India] : Packt,

Loading...
Export citation

Choose an application

Bookmark

Abstract

A comprehensive, hands-on guide on unit testing framework for Java programming language About This Book In-depth coverage of Jupiter, the new programming and extension model provided by JUnit 5 Integration of JUnit 5 with other frameworks such as Mockito, Spring, Selenium, Cucumber, and Docker Best practices for writing meaningful Jupiter test cases Who This Book Is For This book is for Java software engineers and testers. If you are a Java developer who is keen on improving the quality of your code and building world class applications then this book is for you. Prior experience of the concepts of automated testing will be helpful. What You Will Learn The importance of software testing and its impact on software quality The options available for testing Java applications The architecture, features and extension model of JUnit 5 Writing test cases using the Jupiter programming model How to use the latest and advanced features of JUnit 5 Integrating JUnit 5 with existing third-party frameworks Best practices for writing meaningful JUnit 5 test cases Managing software testing activities in a living software project In Detail When building an application it is of utmost importance to have clean code, a productive environment and efficient systems in place. Having automated unit testing in place helps developers to achieve these goals. The JUnit testing framework is a popular choice among Java developers and has recently released a major version update with JUnit 5. This book shows you how to make use of the power of JUnit 5 to write better software. The book begins with an introduction to software quality and software testing. After that, you will see an in-depth analysis of all the features of Jupiter, the new programming and extension model provided by JUnit 5. You will learn how to integrate JUnit 5 with other frameworks such as Mockito, Spring, Selenium, Cucumber, and Docker. After the technical features of JUnit 5, the final part of this book will train you for the daily work of a software tester. You will learn best practices for writing meaningful tests. Finally, you will learn how software testing fits into the overall software development process, and sits alongside continuous integration, defect tracking, and test reporting. Style and approach The book offers definitive and comprehensive coverage of all the Unit testing concepts with JUnit and its features using several real world examples so that readers can put their learning to pract...


Book
Java EE 8 application development : develop enterprise applications using the latest versions of CDI, JAX-RS, JSON-B, JPA, security, and more
Author:
ISBN: 1523125381 1788297334 9781788297332 9781788293679 1788293673 9781788293679 Year: 2018 Publisher: Birmingham, England ; Mumbai, [India] : Packt,

Loading...
Export citation

Choose an application

Bookmark

Abstract

Develop Enterprise Java applications compliant with the latest version of the Java EE specification About This Book This book covers all of the major Java EE 8 APIs and includes new additions such as enhanced Security, JSON-B Processing, and more Learn additional Java EE APIs, such as the Java API for Websocket and the Java Message Service (JMS) Develop applications by taking advantage of the latest versions of CDI, Security, Servlets, and JSF and other Java EE specifications Who This Book Is For If you are a Java developer who wants to become proficient with Java EE 8, this book is ideal for you. You are expected to have some experience with Java and to have developed and deployed applications in the past, but you don't need any previous knowledge of Java EE. What You Will Learn Develop and deploy Java EE applications Embrace the latest additions to the Contexts and Dependency Injection (CDI) specification to develop Java EE applications Develop web-based applications by utilizing the latest version of JavaServer Faces, JSF 2.3. Understand the steps needed to process JSON data with JSON-P and the new JSON-B Java EE API Implement RESTful web services using the new JAX-RS 2.1 API, which also includes support for Server-Sent Events (SSE) and the new reactive client API In Detail Java EE is an Enterprise Java standard. Applications written to comply with the Java EE specification do not tie developers to a specific vendor; instead they can be deployed to any Java EE compliant application server. With this book, you’ll get all the tools and techniques you need to build robust and scalable applications in Java EE 8. This book covers all the major Java EE 8 APIs including JSF 2.3, Enterprise JavaBeans (EJB) 3.2, Contexts and Dependency Injection (CDI) 2.0, the Java API for WebSockets, JAX-RS 2.1, Servlet 4.0, and more. The book begins by introducing you to Java EE 8 application development and goes on to cover all the major Java EE 8 APIs. It goes beyond the basics to develop Java EE applications that can be deployed to any Java EE 8 compliant application server. It also introduces advanced topics such as JSON-P and JSON-B, the Java APIs for JSON processing, and the Java API for JSON binding. These topics dive deep, explaining how the two APIs (the Model API and the Streaming API) are used to process JSON data. Moving on, we cover additional Java EE APIs, such as the Java API for Websocket and the Java Message Service (JMS), which allows loosely cou...


Book
Java 9 with JShell : introducing the full range of Java 9's new features via JShell
Author:
ISBN: 1787285197 9781787285194 Year: 2017 Publisher: Birmingham, England ; Mumbai, [India] : Packt,

Loading...
Export citation

Choose an application

Bookmark

Abstract


Book
Mastering microservices with Java 9 : build domain-driven microservice-based applications with spring, spring cloud, and angular
Author:
ISBN: 1787282414 9781787282414 Year: 2017 Publisher: Birmingham, England ; Mumbai, [India] : Packt,

Loading...
Export citation

Choose an application

Bookmark

Abstract

Master the art of implementing scalable microservices in your production environment with ease About This Book Use domain-driven design to build microservices Use Spring Cloud to use Service Discovery and Registeration Use Kafka, Avro and Spring Streams for implementing event based microservices Who This Book Is For This book is for Java developers who are familiar with the microservices architecture and now wants to take a deeper dive into effectively implementing microservices at an enterprise level. A reasonable knowledge level and understanding of core microservice elements and applications is expected. What You Will Learn Use domain-driven design to design and implement microservices Secure microservices using Spring Security Learn to develop REST service development Deploy and test microservices Troubleshoot and debug the issues faced during development Learning best practices and common principals about microservices In Detail Microservices are the next big thing in designing scalable, easy-to-maintain applications. It not only makes app development easier, but also offers great flexibility to utilize various resources optimally. If you want to build an enterprise-ready implementation of the microservices architecture, then this is the book for you! Starting off by understanding the core concepts and framework, you will then focus on the high-level design of large software projects. You will gradually move on to setting up the development environment and configuring it before implementing continuous integration to deploy your microservice architecture. Using Spring security, you will secure microservices and test them effectively using REST Java clients and other tools like RxJava 2.0. We'll show you the best patterns, practices and common principals of microservice design and you'll learn to troubleshoot and debug the issues faced during development. We'll show you how to design and implement reactive microservices. Finally, we'll show you how to migrate a monolithic application to microservices based application. By the end of the book, you will know how to build smaller, lighter, and faster services that can be implemented easily in a production environment. Style and approach This book starts from the basics, including environment setup and provides easy-to-follow steps to implement the sample project using microservices.


Book
Spring : developing java applications for the enterprise : leverage the power of spring MVC, spring boot, spring cloud, and additional popular web frameworks : a course in three modules
Authors: --- ---
ISBN: 1787282228 9781787282223 9781787127555 Year: 2017 Publisher: Birmingham, England ; Mumbai, [India] : Packt,

Loading...
Export citation

Choose an application

Bookmark

Abstract

Leverage the power of Spring MVC, Spring Boot, Spring Cloud, and additional popular web frameworks. About This Book Discover key Spring Framework-related technology standards such as Spring core, Spring-AOP, Spring data access frameworks, and Spring testing to develop robust Java applications easily This course is packed with tips and tricks that demonstrate Industry best practices on developing a Spring-MVC-based application Learn how to efficiently build and implement microservices in Spring, and how to use Docker and Mesos to push the boundaries and explore new possibilities Who This Book Is For This course is intended for Java developers interested in building enterprise-level applications with Spring Framework. Prior knowledge of Java programming and web development concepts (and a basic knowledge of XML) is expected. What You Will Learn Understand the architecture of Spring Framework and how to set up the key components of the Spring Application Development Environment Configure Spring Container and manage Spring beans using XML and Annotation Practice Spring AOP concepts such as Aspect, Advice, Pointcut, and Introduction Integrate bean validation and custom validation Use error handling and exception resolving Get to grips with REST-based web service development and Ajax Use Spring Boot to develop microservices Find out how to avoid common pitfalls when developing microservices Get familiar with end-to-end microservices written in Spring Framework and Spring Boot In Detail This carefully designed course aims to get you started with Spring, the most widely adopted Java framework, and then goes on to more advanced topics such as building microservices using Spring Boot within Spring. With additional coverage of popular web frameworks such as Struts, WebWork, Java Server Faces, Tapestry, Docker, and Mesos, you'll have all the skills and expertise you need to build great applications. Starting with the Spring Framework architecture and setting up the key components of the Spring Application Development Environment, you will learn how to configure Spring Container and manage Spring beans using XML and Annotation. Next, you will delve into Spring MVC, which will help you build flexible and loosely coupled web applications. You'll also get to grips with testing applications for reliability. Moving on, this course will help you implement the microservice architecture in Spring Framework, Spring Boot, and Spring Cloud. Written to the latest spec...

Listing 1 - 10 of 783 << page
of 79
>>
Sort by