Bruno Raljić

A Java Developer's Blog

Spring

Configure Spring with Hibernate – Basics – Part 2

Ok, I will continue with the Spring-Hibernate configuration I’ve started in my previous post. Part 2 will also continue in the Exception Driven Write Style manner. It also means that I’m configuring my project as I’m writting this post. Short description In short words, I’ll create one model class, service, DAO, few servlets and make […]

, , , , , , , ,

Configure Spring with Hibernate – Basics – Part 1

Usually, when I write about something, I like to have a short briefing about the topic. But, that’s not the case this time. I don’t think some of you came here after typing “What is Spring/Hibernate” into google. Instead, I think you already have the idea what both Spring and Hibernate are and you just […]

, ,

AJAX with Spring MVC

As I continued to explore the world of Spring MVC, I wondered how the AJAX calls are handled and I found it to be very simple. I’ll present you a simple example, including a little bit of jQuery, JSON, twitter4j etc. Example description Let’s say we want to display specific tweet on our page. User […]

, , , , ,

How to exclude css and js files from Spring MVC dispatcher mapping

After setting up basics for the Spring MVC dispatcher, I included the CSS file but without any results. First I thought the path isn’t declared correctly (I used relative path for the first time). Then I tried with contextPath: but still no changes on the page. After I tried to access this css file directly […]

, , , ,

How to send tweets from Java

After finishing mongoDB course, my colleague (Nikola Cakarevic) and I decided to build up a small project that will combine Spring (Spring MVC and Spring Data) and mongoDB. Since the Twitter fits in the whole Big Data story, we decided to base our project on it. Yesterday I found some free time to see how […]

, , ,