Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our YouTube channel to start Rocking right now!

Gain access to the industrys' best FREE video guides including:

 

1. Core Java guides

2. Enterprise Java guides

3. JVM insights, configuration and troubleshooting guides

4. Java performance guides

5. Java Interview Questions

 

and many more ....

 

Testing exceptions in JavaScript with Jest

The code Let’s consider a simple function that checks for equality of two passwords, and it throws an error when the first one is not provided: export default function samePasswordsValidator(password, otherPassword) { if (!password) { throw new Error("no password given"); } return password === otherPassword; } Try-catch idiom (bad) When testing the code that throws exceptions, one immediately comes up ...

Read More »

Simple Things That Are Actually Hard: User Authentication

You build a system. User authentication is the component that is always there, regardless of the functionality of the system. And by now it should be simple to implement it – just “drag” some ready-to-use authentication module, or configure it with some basic options (e.g. Spring Security), and you’re done. Well, no. It’s the most obvious thing and yet it’s ...

Read More »

JavaScript Master Class

Everything You Need to Know to Become a JavaScript Developer Hey fellow geeks, This week, on our JCG Deals store, we have another extreme offer. We are offering a massive 89% off on JavaScript Master Class. Get it now with only $10,99 instead of the original price of $99. JavaScript is the web’s most popular programming language and an absolute ...

Read More »

The final days of finalizers in Java

If you are developing in Java long enough, you are surely aware of the Object::finalize() method and the concept of the finalizers in general. protected void finalize() throws Throwable ... Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. A subclass overrides the finalize method to dispose of ...

Read More »

HTTP – Content negotiation

java-interview-questions-answers

With HTTP, resources are identified using URIs. And a uniquely identified resource might support multiple resource representations. A representation is a specific form of a particular resource. For example: a HTML page /index.html might be available in different languagesproduct data located at /products/123 can be served in JSON, XML or CSVan avatar image /user/avatar might available in JPEG, PNG and ...

Read More »

KeepSolid Private Browser: Lifetime Subscription

Enjoy Lightning-Fast Browsing Under the Radar with AES-256 Traffic Encryption & Unlimited Connection Speeds Hey fellow geeks, This week, on our JCG Deals store, we have another extreme offer. We are offering a massive 42% off on KeepSolid Private Browser: Lifetime Subscription. Get it now with only $29 instead of the original price of $50. Make your web surfing safe ...

Read More »

KivaKit XML Streaming

java-interview-questions-answers

KivaKit XML Streaming   Since Java 1.6 in 2006, Java has had a built-in XML streaming API in the package javax.xml.stream. This API is known as StAX (Streaming API for XML), and it is a very efficient “pull parser”, allowing clients to iterate through the sequence of elements in an XML document. Other approaches to working with XML are event-handling ...

Read More »