MOXy and JAXB
This articles explains how to use MOXy with JAXB to avoid needless POJO creations. You can read it here
Articles related to software engineering
This articles explains how to use MOXy with JAXB to avoid needless POJO creations. You can read it here
Here is a nice post with an actual benchmark on unmarshalling XML in java. Read it here .. Another benchmark here
Swagger is an awesome framework we often used to describe, consume and visualize our RESTful web services. Typically, we use Tomcat with Jersey as a servlet, then specify the Swagger package and Swagger Configuration class into web.xml, finally annotate the […]
Add the following in pom.xml <build> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <archive> <manifest> <mainClass>fully.qualified.MainClass</mainClass> </manifest> </archive> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> </configuration> </plugin> </plugins> </build> and you run it with mvn clean compile assembly:single Compile goal should be added before assembly:single […]
A nice working example of Arquillian in Glashfish Read it here
Most professional software developers understand the academic definitions of coupling, cohesion, and encapsulation. However, many developers do not understand how to achieve the benefits of low coupling, high cohesion and strong encapsulation, as outlined in this article. Fortunately, others have […]
PKIX path building failed: SunCertPathBuilderException: unable to find valid certification path to requested target. SSLHandshakeException: PKIX: unable to find valid certification path to requested target This solution relates to the following stacktrace: javax.net.ssl.SSLHandshakeException: sun.security.validator. ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: […]
This article explains in detail the steps to create fluent API in Java using Generics. Read it!
I have found a very nice post explaining in detail how handle code generation through annotation processing. Have a look here: Part 1 Part 2 Part 3 Related useful articles https://netbeans.org/kb/docs/java/annotations-custom.html