Architecture, Java, Methodology

J2EE And SOA Architecture

In this article, you’ll learn how to design and develop service-oriented architecture (SOA) frameworks using the Java 2 Platform, Enterprise Edition (J2EE). By adapting an SOA framework, your organization can maximize loose coupling and reusability between systems. This article will take a high-level overview of several iterations over an SOA framework that will meet the needs of… Continue reading J2EE And SOA Architecture

Advertisements
Chưa phân loại, Java

MDB != JMS and vice-versa

Basics A Message Driven Bean (further referred to as MDB) is just another EJB like Stateless, Stateful or a Singleton. It’s specified using the @MessageDriven annotation. MDBs are used for asynchronous message processing They are similar to Stateless EJBs since both of them are pooled by the EJB container However they differ from Stateless EJBs… Continue reading MDB != JMS and vice-versa

Java

How to use CodePro AnalytiX to develop Automated Unit testing

Sometimes, we need to develop Automated Unit testing for a complicated logic or some utility functions that we can not execute directly from our application. For example, we and client are developing a interesting module at the same time, we need to create some stubs or drivers or mock objects for our logic can be executed.… Continue reading How to use CodePro AnalytiX to develop Automated Unit testing

Java

JEE – Frameworks for Layering reusable Architectures

The default overall enterprise framework of Java is called Java EE. Java EE strongly emphasis a layered architecture. It's a quite large framework and learning every aspect of it can take some time. It supports several types of applications. Extremely small and simple ones may only use JSP files with some scriptlets, while larger ones… Continue reading JEE – Frameworks for Layering reusable Architectures

Design Pattern, Java, OO Design Principles

Avoid NullPointerException in Java

I would like to share with you some tips to deal/prevent NPE in your code: The BIG IMPORTANT rule: do NOT assign / pass / return null value and keep your code as cohesive as possible. Programming tips / techniques: 1. Return an empty collections instead of null. For example: List: Set: Map: 2. Return… Continue reading Avoid NullPointerException in Java

Java

Lập trình theo kiểu Aspect Oriented Programming (AOP) sử dụng Spring Framework

Aspect Oriented Programming Trong khoảng 5 năm trở lại đây, một khuynh huớng lập trình mới xuất hiện. Nó được gọi là AOP để phân biệt với kiểu lập trình OOP đã có sẵn. Nguời viết muốn cung cấp cho bạn đọc một kiến thức cơ bản về kiểu lập trình mới mẻ này, và… Continue reading Lập trình theo kiểu Aspect Oriented Programming (AOP) sử dụng Spring Framework

Java

Java 8 Tutorial: Trọn bộ Java 8 new features từ Pluralsight

Giới thiệuHôm nay mình sẽ share một bộ video Trọn bộ Java 8 new features từ Pluralsight . Với hơn 4 giờ học, các bạn sẽ nắm được tất cả những đặc điểm nổi bật nhất trong Java 8 như Lambda Expression, Stream, Date and Time API, ...This course covers the most useful parts of Java 8. This update… Continue reading Java 8 Tutorial: Trọn bộ Java 8 new features từ Pluralsight