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

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!

1. JPA Mini Book

2. JVM Troubleshooting Guide

3. JUnit Tutorial for Unit Testing

4. Java Annotations Tutorial

5. Java Interview Questions

and many more ....

Securing WebSocket using wss and HTTPS/TLS

java-interview-questions-answers

50th tip on this blog, yaay! Tech Tip #49 explained how to secure WebSockets using username/password and Servlet Security mechanisms. This Tech Tip will explain how to secure WebSockets using HTTPS/TLS on WildFly. Lets get started!         Create a new keystore: keytool -genkey -alias websocket -keyalg RSA -keystore websocket.keystore -validity 10950 Enter keystore password: Re-enter new password: What is your first and ...

Read More »

The JAXB Well Known Secret

java-interview-questions-answers

Introduction I rediscovered a library that Java offers to the masses. When I first read the specification, I was confused and thought I needed all these special tools to implement. I found recently that all was needed was some annotations and a POJO. JAXB JAXB stands for Java Architecture for XML Binding. This architecture allows a developer to turn the ...

Read More »

Adaptive heap sizing

java-logo

While enhancing our test bed to improve the Plumbr GC problem detector,  I ended up writing a small test case I thought might be interesting for the wider audience. The goal I was chasing was to test JVM’s self-adaptiveness in regard of how the heap is segmented between eden, survivor and tenured spaces. The test itself is generating objects in ...

Read More »

Ceylon: Ceylon command-line plugins

ceylon_logo

With Ceylon we try our best to make every developer’s life easier. We do this with a great language, a powerful IDE, a wonderful online module repository, but also with an amazing command-line interface (CLI). Our command line is built around the idea of discoverability where you get a single executable called ceylon and lots of subcommands that you can ...

Read More »

Write SQL in Java with jOOQ

jooq-2-logo

jOOQ is a “database first”, type safe SQL API that allows you to write SQL in Java intuitively as if the SQL language were supported natively by the Java compiler. All database schemas, tables, columns, procedures, and other objects are made available as Java objects that can be used directly in the jOOQ SQL API. Let’s see how it works… ...

Read More »

Keeping the Meaning with the Bytes

scala-logo

Back to the Future… This post was from November 2006. I had just started playing with Scala and was trying to figure out an ORM… the one that ultimately became Lift’s Mapper. Keeping the meaning with the bytes One of my criteria for a good web framework is having security and access control built it. As I was driving friends ...

Read More »

Legacy Code to Testable Code #6: Add Overload

software-development-2-logo

This post is part of the “Legacy Code to Testable Code” series. In the series we’ll talk about making refactoring steps before writing tests for legacy code, and how they make our life easier. In the last post, I’ve talked about Extract Class, and that sometimes in order to do that, we might want to change the signature of a ...

Read More »

Five Tips for Tactical Management

software-development-2-logo

Sometimes, you just need to get on with the work. You need to give yourself some breathing room so you can think for a while. Here are some tips that will help you tackle the day-to-day management work:                 Schedule and conduct your one-on-ones. Being a manager means you make room for  the ...

Read More »

User sessions, Data controls and AM pooling

java-interview-questions-answers

Recently I was asked an interesting question about application module pooling. As we know AM pool contains application module instances referenced by user sessions, which allows a session to fetch exactly the same AM instance from the pool at the subsequent request.               And if there is more than one root application module in ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close