background preloader

Web

Facebook Twitter

Brians Java Blog: Spring REST Tutorial. In this post I’ll show you how to implement a RESTful web service using the Spring framework.

Brians Java Blog: Spring REST Tutorial

REST support was introduced as part of Spring 3 and is built on top of the existing Spring MVC stack, so anyone that has worked with Spring MVC in the past should find the REST support very easy to grasp. I’ll provide a step by step guide so even if you’re not familiar with Spring MVC you should be able get a RESTful service up and running quickly. Integrating Hibernate with Spring. In this article, we will look at how Spring affects the application's data-access layer.

Integrating Hibernate with Spring

Our discussion starts with the Data Access Object (DAO) pattern. This pattern, which is popular in the Java world, allows for a more manageable, more maintainable data-access tier. Then, we'll discuss how Spring affects application DAO classes when integrated with Hibernate. Spring is a general-purpose framework that plays different roles in many areas of application architecture. One of these areas is persistence. Spring's abstraction layer abstracts the application from the connection factory, the transaction API, and the exception hierarchies used by the underlying persistence technology. The Data Access Object pattern Although you can obtain a Session object and connect to Hibernate anywhere in the application, it's recommended that all interactions with Hibernate be done only through distinct classes. The DAO pattern states that we should define a DAO interface corresponding to each DAO class.

AWS

Custom Configuring Java Apps: Extending log4j. DevOps DNS for Developers – Now There’s No Excuse Not To Know. Over the years I have had the luck to work alongside many really smart, switched on people in the development community.

DevOps DNS for Developers – Now There’s No Excuse Not To Know

I’ve learnt from them many intermediate and experienced programming skills. Generally when it comes understanding the very basis of how the internet functions using DNS, most of these very same experienced developers haven’t got a clue. I wrote this post to hopefully help pay back some of the awesome karma they have earned helping me over the years, by teaching them something in return. Lets learn about DNS. DNS is a huge part of the inner workings of the internet. What I will cover in this post: 10 Completely Free Wireframing and Mockup Tools.

The wireframing process is the straight-to-the-point and completely non-tech stage of any web project.

10 Completely Free Wireframing and Mockup Tools

It only requires that you define a skeletal outline of essential page elements such as headers, footers, navigation and content area and should illustrate how to cater and respond to any possible interaction from a user. It is the most important, yet underused, stage of any web or apps development. There are several avenues you could take for sketching a wireframe, most notably pen and paper (the easiest and most cost effective way), but for the sake of this article we have focused on apps that are not only highly effective and easy to use, they are also completely free. We have covered free wireframe apps before (here), but a year is a long time in web development – some of the apps we had previously covered are either no longer completely free or are no longer available.

A re-introduction to JavaScript. Why a re-introduction?

A re-introduction to JavaScript

Because JavaScript is notorious for being the world's most misunderstood programming language. It is often derided as being a toy, but beneath its layer of deceptive simplicity, powerful language features await. JavaScript is now used by an incredible number of high-profile applications, showing that deeper knowledge of this technology is an important skill for any web or mobile developer. It's useful to start with an overview of the language's history. JavaScript was created in 1995 by Brendan Eich while he was an engineer at Netscape. Several months later, Microsoft released JScript with Internet Explorer 3. Because it is more familiar, we will refer to ECMAScript as "JavaScript" from this point on. Unlike most programming languages, the JavaScript language has no concept of input or output.

Overview JavaScript is a multi-paradigm, dynamic language with types and operators, standard built-in objects, and methods. And there are some built-in Error types as well.

Security and authentication

Website creation. What good Web Developers should know about sending E-mail - Diary of a Ninja... Nearly all websites these days send email and because of this the majority of developers assume that they “know how to send email from a website”.

What good Web Developers should know about sending E-mail - Diary of a Ninja...

They continue under this assumption until they have a site or server of their get black listed by a Spam blacklist. Then they are forced to scratch their heads to try and figure out why this happened. Before you hit send on that email requesting to be removed from that Spam blacklist, let’s recap what you should be doing to make sure it doesn’t happen again. So you’re developing a website, and you or your client wants this website to send an email. Maybe it’s to visitors who sign up for your service, or maybe you have a “Send to a friend” service that allows your visitors to spread the word about your content or service.