Category Archives: Enterprise Java

orologi Rolex ItaliaReplica Orologi Rolexcheap air max it was a rolex italia. After i asked my friend if it was|exercisesaznkuq

There is much to consider when deciding on a timepiece. A watch is just something worn around the wrist that can accurately keep time. In times past, watches were predominately residing in the pocket particularly doing the early half of the 20th century. Not all watches are reasonable quality even though increased functions stay a [...]

Also posted in Product Reviews | Leave a comment

Java 7 File IO using FileVisitor

This blog post is inspired by a problem a friend of mine was having. See… he’s got this rash… -kidding. He’s got a ton of movies, music, and books on his hard drive, and he frequently rearranges the directory structure of his drive to better organize his media. He wanted to [...]

Also posted in How To Guide | Leave a comment

Parsing HTML using jsoup library

A quick tutorial on html parsing using the jsoup Java library.

Also posted in 0-Uncategorized, How To Guide, Misc | Tagged , , | 26 Comments

Java Spring Application on Azure Cloud

Microsoft states to developers using  Azure that one can build applications using any language, tool or framework.  This blog post will show you how to deploy a Spring application on an Azure cloud.  Our first step will be to install a Jetty instance on to the cloud, and then we’ll import jars and do any [...]

Also posted in Architecture and Development, Cloud, How To Guide | 6 Comments

Java EE 6 Overview

Introduction
For the past year or so I have been working on a web development project using Java.  Like many Java projects, the project I was working on used 3rd party frameworks like Spring and Hibernate rather than utilizing the official Java EE stack.  Many developers have turned to these frameworks because the official Java EE [...]

Posted in Enterprise Java | Tagged | Leave a comment

The Unstandard Tag Library: Using Constants Within JSPs

Introduction
The Unstandard Tag Library is a JSP tag library that was developed as part of the Jakarta Project. Its purpose is to provide a collection of useful tags that people have been requesting for JSTL. The library serves as a place to keep all of these tags [...]

Posted in Enterprise Java | Tagged , | 1 Comment

Java could be a pain to C# developers (Pass by Reference)

In C++ and C#, developers have freedom to modify variables by directly having access to memory location.
In C++,
#include <stdio.h>
void swapnum(int &i, int &j)
{
int temp = i;
i = j;
j = temp;
}

int main(void)
{
[...]

Also posted in General, How To Guide | Tagged , | Leave a comment

Pass by reference

In C++ and C#, developers have freedom to modify variables by directly having access to memory location.
In C++,
#include <stdio.h>
void swapnum(int &i, int &j) {
int temp = i;
i = j;
j = temp;
}
int main(void) {
int a = 10;
int b = 20;
swapnum(a, b);
printf(“A is %d and B is %d\n”, a, b);
return 0;
}
In C#,
int a = 1;
modify(ref a); //now [...]

Posted in Enterprise Java | Tagged , , | 2 Comments

Cache as a cross-cutting concern

I have been recently asked to look into the cache feature within Springmodule in Java community.
Since my current project utilizes spring and aop, I thought it would be a great idea to utilize AOP to cache data.
I actually wrote a prototype file and it was a very rudimentary yet working prototype.  However, I soon realized [...]

Also posted in Enterprise .NET | Tagged , , , , , | Leave a comment

Hibernate: Merge vs SaveOrUpdate

In my previous and current project, I have run into cases where I needed to save an object to database using hibernate, and from time to time, I run into some sort of Hibernate Session Exception.
 I did a bit of google search, and it turns out that when saving an object, I needed to make [...]

Posted in Enterprise Java | Tagged , , | 3 Comments