What Is Garbage Collection Log? How To Enable & Analyze?

Objects are created in the memory to service incoming requests. Once requests are serviced, newly created objects will become useless (i.e. garbage). This garbage must be evicted from the memory so that there is enough room created in the memory to service the new incoming requests. If there isn’t sufficient memory, the application can experience poor response times, OutOfMemoryError, and fatal crashes.

How to Avoid Liferay DXP Upgrading Pitfalls?

Timely upgrades can be proved a strategic move towards lifting the operational excellence to the next level. Experienced management individuals know very well that how the essential pieces of functionalities can greatly improve performance of process along with addressing the security challenges. Hence, they favor the technology upgrades anticipating reasonable amount of Return on Investment (ROI).

As Liferay DXP is a revolutionary version of Liferay enterprise portal launched in 2016, lot many organizations would rather opt for upgrading to Liferay DXP.

7 Reasons Why You Should Learn Python

Python is preferred by many developers for its strong emphasis on productivity and readability, especially when compared to other languages like Java, PHP, and C++.

Professionally, Python is great for backend web development, data analysis, artificial intelligence, and scientific computing. Here’s why Python is worth learning in 2017 and the years ahead:

10 Most Common Mistakes PYTHON Developers Make

Python is known as high-level programming language because of its easy-to-learn syntax and dynamic semantics. Python is widely used for rapid application development due to its large support of modules and packages and code reuse along with program modularity.

Python’s easy and simple syntax sometimes mislead developers - especially if they are new to the language. This blog covers some of the top mistakes that even an advanced Python developer can make.

CXF With JBoss Tutorial

CXF With JBoss Tutorial explains about the integration of CXF Framework with Jboss server.

Apache CXF is a free and open source project, and a fully featured Webservice framework.It helps you building webservices using different front-end API's, like as JAX-RS and JAX-WS.

Reference → https://cxf.apache.org/

Trace SOAP message Using Eclipse IDE

Trace SOAP message Using Eclipse IDE explains step by step details of How to debugging web service using Eclipse IDE.

By using Eclipse TCP/IP monitor, we can check the data flowing through TCP network. TCP/IP monitor placed intermediate to a consumer and a server. The consumer is made to contact with TCP/IP monitor, and it further send the data to the server and will shows on in its Graphical User Interface(GUI).

For example if you, created webservice is deployed using Apache CXF or Apache AXIS, you can able to monitor traffic on TCP connections by using this tool  

Trace SOAP request/response using JAX-WS

Trace SOAP request/response using JAX-WS explains about how to trace the raw XML request and response usng java's in-bult JAX-WS implementation

It is a life saver, when we dont know the exact request which we are passing to the server.

For deploying the service, you can follow this tutorial CXF Web Service Tutorial. After the deployment you can access the below url


Here I am generating Java Code From A WSDL Document using wsimport tool, So that client can Invoke/Consume the Service

Jersey Bean Validation Example

Jersey Bean Validation Example explains about Jersey bean valiation both input validations and service layer validations

JAX-RS is Java API for RESTful Webservices which is very rely upon Representational State Transfer model, you can view JAX-RS specification 

JAX-RS uses annotations for simplifying the development efforts.

Now a days more & more deployment is going based on restful services compare to WSDL Webservices, due to the weights towards the simplicity of configuration

Bean Validation is a process of verifying that some data obeys one or more pre-defined constraints. The Bean Validation specification supports the use of constraint annotations as a way of declaratively validating beans, method parameters and method returned values. Below post describes support for Bean Validation in Jersey in terms of the needed dependencies, configuration, registration and usage

Reference -> https://jersey.java.net/documentation/latest/bean-validation.html

You can see the below example, which is demonstrating How to do bean validations using jersey 2