Arrays Are Efficient in Java
Here is en example where iterating over an array is much faster than iterating over a list directly. This we can apply if we have to iterate a list over multiple time in a single thread. Advertisements
Here is en example where iterating over an array is much faster than iterating over a list directly. This we can apply if we have to iterate a list over multiple time in a single thread. Advertisements
ATG Cache Using JBOSS Data Grid/Infinispan As performance is really important in retail Or web commerce applications, the caching plays an important role in improve the performance. ATG Commerce servers are loaded with lot of components and functionality. And top of that, repository caching will increase enormous memory consumption on ATG JVM’s. Hence, externalizing… Continue reading ATG Cache Using JBOSS Data Grid/Infinispan
Architectural details that need to be consider while developing a new software application.
ATG Rest System in ATG 11.1
Spring boot is becoming famous and famous due to microservice architecture and advantage of spring framework support in it.As REST services are playing a huge role in microservice architecture, swagger introduces a better way to publish these REST services so that they can be tested, published as living documents. Here is a simple spring boot… Continue reading Swagger docs for Spring Boot
Async servlet is a new feature added in servlet 3.0 specification. This servlet works in a non-blocking mode. Each request is processed in a new thread which is independent of request thread. The request is temporarily suspended by application till the business logic is executed. Once the application is ready with result, the request will be resumed and… Continue reading Asynchronous Servlet in 3.0
Recursive Task is useful where the tasks are independent and caller is not expecting any return result from the task. Note: make sure that you are waiting to complete the first task. i.e (action.isDone() check) RecursiveTask Here is the example which illustrates the Recursive Task A Main program to start pool and first task, And… Continue reading Recursive Action Task in Fork/Join Framework