Java 9 has introduced modules to the Java platform, changing the way we build and design applications. If you need a refresher on Java 9 modules, look no further than our cheat sheet. It covers module-info.java file contents, Java command line options, manifest attributes, and module types.
Category: dummyCategory
Spring Security 5 Java Config – @EnableWebSecurity Example
Java example to enable spring security java configuration with the help of @EnableWebSecurity annotation and WebSecurityConfigurerAdapter class. 1) Include spring security dependencies Include spring security jars. I am using maven so added respective dependencies for spring security 5. 2) Create Security Configuration I have created this simple security configuration and added two demo users ‘user‘ …
Expected Features of Java 11 – DZone Java
In this post, we reveal some of the expected features of Java 11, including JDK11 new string methods, files utility methods, and predicate utility methods.
Top 5 Best Java 8 Tutorials, Courses, and Books
It’s been quite some time since the Java 8 was released but Java community is still buzzing with functional programming and lambda expressi…
Turbo charge CPU utilization in Fork/Join using the ManagedBlocker – JAXenter
What solutions can ManagedBlocker provide for the Fork/Join framework? Dr. Heinz Kabutz gives us answers to this question & more.
Java Evaluate XPath on a XML String – HowToDoInJava
Java example to evaluate xpath of an XML String and return result XML in string itself. Evaluate XPath on XML String Create org.xml.sax.InputSource containing with StringReader referencing to XML string. Create XPath from XPathFactory. Use xpath.evaluate(‘expression’, inputSource) to get result HTML. Program output: Happy Learning !!
Notes on Java EE support for NetBeans 9
The J*, a blog about Java, JVM, JavaScript and Gentoo Linux
Java Evaluate XPath on DOM Document Object – HowToDoInJava
Java example to evaluate xpath of an DOM org.w3c.dom.Document object and get results in form of String or NodeList. Evaluate XPath on DOM Create Document DOM object javax.xml.parsers.DocumentBuilder object. Create XPath from XPathFactory. Use xpath.evaluate(‘expression’, dom, resultType) to get result HTML. Program output: Where input xml file is: Happy Learning !!
Top 5 Java Performance Tuning Books for Experienced Programmers – Best of Lot, Must read
You might be thinking, why should a Java developer read a book on Performance tuning? When I first faced this question a long time back, I …
Java XPath Attribute Evaluate Examples – HowToDoInJava
Java examples to extract information from an XML document using XPath evaluational. We will learn to fetch information for matching attribute values, attribute values in range, xpath attribute contains() and so on. 1) XPath Attribute Expression Examples 1.1) Input XML file First look at the XML file which we will read and then fetch information …
Data Structures and Algorithms MasterClass: Coding Interview
Ace your next Java coding interview by mastering in data structures and algorithms. Deep dive using Java
Understanding Jakarta EE: “The platform needs to evolve more dynamically than it had done in the past” – JAXenter
Confused about what’s going on with Jakarta EE? This interview series is meant to help you navigate through the changes. Our third guest: Josh Juneau.