Category: JavaSE

ConcurrencyJavaSERelevant topics

Submitting Tasks to ExecutorService

by:

Tasks to an ExecutorService can be submitted in multiple ways. execute() method is inherited from the Executor interface, which ExecutorService interface extends. The execute() method takes …

ConcurrencyJavaSERelevant topics

Shutting Down a Thread Executor

by:

One using a thread executor is finished, it is important to call the shutdown() method on an instance of an ExecutorService interface. A thread executor creates …

Design PatternsJavaSERelevant topics

Intercepting Filter Pattern

by:

Intercepting Filter Pattern is used when developer wants to do some pre-processing with request or response of the application. Filters are defined and applied on the …

Design PatternsJavaSERelevant topics

Transfer Object Pattern

by:

Transfer Object Pattern is used when developer wants to pass data with multiple attributes in one shot from client to server. Transfer Object is also known …

Design PatternsJavaSERelevant topics

Front Controller Pattern

by:

Front Controller design pattern is used to provide a centralized request handling mechanism so that all requests will be handled by a single handler. This handler …

Design PatternsJavaSERelevant topics

MVC Pattern

by:

MVC stands for Model-View-Controller. This pattern is used to separate application’s concerns. Model represents an object or JAVA POJO carrying data. It can also have logic …

Design PatternsJavaSERelevant topics

J2EE Patterns

by:

These design patterns are specifically concerned with the presentation tier. These patterns are identified by Sun Java Center. J2EE Patterns are listed below : MVC Pattern …

Design PatternsJavaSERelevant topics

Visitor Pattern

by:

Visitor is a behavioral pattern that uses a visitor class which changes the executing algorithm of an element class. By this way, execution algorithm of element …

Design PatternsJavaSERelevant topics

Template Pattern

by:

Template is a behavioral pattern which uses abstract class, abstract class exposes defined way(s)/template(s) to execute its methods. Its subclasses can override the method implementation as …

Design PatternsJavaSERelevant topics

Composite Pattern

by:

Composite is a structural design pattern that is used where there is a need to treat a group of objects in a similar way as a …