Eclipse

Generate XSD from JAXB Java Classes using Eclipse

Learn to create XML schema document (xsd) from JAXB annotated Java classes using Eclipse IDE. 1) Add JAXB Annotations to Java Classes First step is to add annotations such as @XmlRootElement, @XmlAccessorType and @XmlElement etc. to your Java classes. 2) Generate XSD from JAXB Classes 2.1) Navigate to Eclipse Option 2.2) Select location for generated …

JUnit 5 Test Templates for Eclipse

Eclipse has great tooling support for JUnit test cases. Having code templates for JUnit test cases configured in Eclipse is a great addition in faster test development. Learn to create and import JUnit 5 test templates in eclipse.

Eclipse Quick Text Search Plugin

The eclipse quick search plugin is part of Spring Tools Suite (STS). So if you have STS installed in eclipse, then chances are you have it already.

Setting Up TestNG in Eclipse

Learn about TestNG features, installing the TestNG plugin into Eclipse and writing and executing TestNG tests through Eclipse IDE.

Create Maven Web Application and Import into Eclipse

Learn to create a Maven web project in Eclipse, which we should be able to import into the Eclipse IDE for further development. To create an Eclipse-supported web project, we will need to create a normal Maven web application and then make it compatible with the Eclipse IDE. Step 1: …

Dead code and Unreachable code in Java

Learn to identify dead code and unreachable code in Java, with example. It may be asked in your Java interview coding problems as a puzzle. Let’s sovle it.

About Us

HowToDoInJava provides tutorials and how-to guides on Java and related technologies.

It also shares the best practices, algorithms & solutions and frequently asked interview questions.