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 ....

 

Injecting Spring beans into non-managed objects

spring-interview-questions-answers

Advantages coming from dependency injection can be addicting. It’s a lot easier to configure application structure using injections than doing all resolutions manually. It’s hard to resign from it when we have some non-managed classes that are instantiated outside of the container – for example being part of other frameworks like Vaadin UI components or JPA entities. The latter are ...

Read More »

Elo Rating System: Ranking Champions League teams using Clojure

clojure-logo

As I mentioned in an earlier blog post I’ve been learning about ranking systems and one of the first ones I came across was the Elo rating system which is most famously used to rank chess players. The Elo rating system uses the following formula to work out a player/team’s ranking after they’ve participated in a match:       ...

Read More »

5 Steps to Stress-Free Cloud Maintenance

software-development-2-logo

Making the switch to cloud computing can cause a range of headaches for the IT department. From worrying about security breaches to making sure applications are available when they need to be, maintaining a cloud system can be complex. However, by taking the following five steps maintenance doesn’t have to be stressful. 1. Choose the Right Type of Cloud Every ...

Read More »

Top 100 Java Servlet Questions

java-interview-questions-answers

1) Is it the “servlets” directory or the “servlet” directory? Answer: For Java Web Server: on the file system, it’s “servlets” c:\JavaWebServer1.1\servlets\DateServlet.class in a URL path, it’s “servlet”: http://www.stinky.com/servlet/DateServlet 2) How do I support both GET and POST protocol from the same Servlet? Answer: The easy way is, just support POST, then have your doGet method call your doPost method: ...

Read More »

Spring MVC: Ajax & JQuery

spring-interview-questions-answers

Today I want to demonstrate how to integrate AJAX into a Spring MVC application. I’m going to use JQuery on a client side for sending of requests and receiving of responses. This tutorial will be based on one of my previous tutorials about Spring MVC and REST services. In this article you will read how to make a web-application more ...

Read More »

Easy Messaging with STOMP over WebSockets using Apollo

codehaus-stomp-logo

In my previous post I have covered couple of interesting use cases implementing STOMP messaging over Websockects using well-known message brokers, HornetQ and ActiveMQ. But the one I didn’t cover is Apollo as in my own opinion its API is verbose and not expressive enough as for a Java developer. Nevertheless, the more time I spent playing with Apollo, more ...

Read More »

Easy Messaging with STOMP over WebSockets using ActiveMQ and HornetQ

codehaus-stomp-logo

Messaging is an extremely powerful tool for building distributed software systems of different levels. Typically, at least in Java ecosystem, the client (front-end) never interacts with message broker (or exchange) directly but does it by invoking server-side (back-end) services. Or client may not even be aware that there’s messaging solution in place. With Websockets gaining more and more adoption, and ...

Read More »

Responsive Design with JavaFX

javafx-logo

With CSS technologies it’s relatively easy to create a responsive design for your website. Depending on the sizeof the screen you can use a different CSS File and Layout. In JavaFX this might seem a bit harder at first sight, since CSS is only responsible for styling, but not for the layout. But using different FXML Files for the respective ...

Read More »

REST 101 For Developers

java-interview-questions-answers

Local Code Execution Functions in high-level languages like C are compiled into procedures in assembly. They add a level of indirection that frees us from having to think about memory addresses. Methods and polymorphism in object-oriented languages like Java add another level of indirection that frees us from having to think about the specific variant of a set of similar ...

Read More »

What’s new in Java 8 (Part II – What might come)

java-logo

Disclaimer: I do not work for Oracle or represent Oracle in any way. This list of features is not official. This is just part of my research as an “outsider”. This is part II of a three part series of posts. In the first part, I talked about what Oracle has officially let developers know what should come out 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