Javadoc is a key part of coding in Java, yet there is relatively little discussion of what makes good Javadoc style - a coding standard.
-
-
14 Tips for Writing Spring MVC Controllers
In this article, I'm going to share with you some of the fundamental techniques and best practices for writing a controller class with the Spring MVC framework. Typically, in Spring MVC, we write a controller class to handle requests coming from the client. Then, the controller invokes a business class to process business-related tasks, and then redirects the client to a logical view name, which is resolved by Spring’s dispatcher servlet in order to render results or output. That completes a round trip of a typical request-response cycle.
-
System Architecture of SAP Commerce Accelerator
Commerce Accelerator combines a feature-rich web application with a collection of software components that fulfill many typical use cases that are common requirements on a vast number of SAP Commerce implementation projects. This document helps you understand the software as well as understand in more detail the features implemented by the software, how everything fits together, and how you can adapt the code or configure it to fulfill your project's requirements.
-
Introducing Character Sets and Encoding
If you are dealing with text in a computer, you need to know about encodings. Period. Yes, even if you are just sending emails. Even if you are just receiving emails. You don't need to understand every last detail, but you must at least know what this whole "encoding" thing is about. And the good news first: while the topic can get messy and confusing, the basic idea is really, really simple.
-
10 most tricky question in java
References https://www.journaldev.com/552/java-tricky-interview-questions https://hubpages.com/technology/10-most-tricky-question-in-java http://www.java67.com/2012/08/10-java-coding-interview-questions-and.html
-
Java Programs from coding interviews
References https://javarevisited.blogspot.com/2017/07/top-50-java-programs-from-coding-Interviews.html https://www.codingame.com/playgrounds/35979/java-interview-questions-and-programming-examples https://practity.com/765-2/ http://www.java67.com/2012/08/10-java-coding-interview-questions-and.html
-
OAuth 2.0
References: http://tutorials.jenkov.com/oauth2/index.html https://www.javacodegeeks.com/2017/09/understanding-oauth2-token-authentication.html
-
Solve your Java performance problems
The Performance Diagnostic Methodology (PDM) is a structured approach in order to find the root cause of Java performance problems. When performance issues occur, often people start panicking and start tuning the JVM without exactly knowing whether they are solving the cause of the performance issue. Therefore, a structured approach can exclude some possible causes and point you in the right direction in order to solve the issue appropriately. The approach is visualized with the next scheme. References:
-
How to create file in Java
References: https://stackoverflow.com/questions/2885173/how-do-i-create-a-file-and-write-to-it-in-java
-
Factory Method Design Pattern
Factory method pattern enables us to create an object without exposing the creation logic to the client and refer to the newly-created object using a common interface. It is one of the most widely used creational patterns. This pattern is also known as the Virtual Constructor. The intent of this pattern, according to Design Patterns by Gamma et al, is to: Define an interface for creating an object, but let subclasses decide which class to instantiate. The Factory method allows a class to defer instantiation to subclasses. The Factory method is for creating objects. A superclass specifies all standard and generic behavior and then delegates the creation details to subclasses…