no

How to Call a Stateless Ejb from a Spring Rest Servlet Component

In my recent project I was ask to develop a rest servlet (using jersey) in a spring web project that would call an stateless EJB, where the ...

How to Fix Could Not Resolve Dependencies Exception

I just have this weird problem using maven + artifactory. I have a project which I first build using maven-compiler 2.3.2, and maven2. It bu...

How to Start/stop an Application on Boot on Ubuntu

There's an easy way now to configure what application runs on ubuntu's startup like services.msc in windows. Rather than adding/modi...

How to Ignore Maven's Plugin Execution Not Covered by Lifecycle Configuration Warning

There are times when you want to ignore some of maven warnings or errors. To do so, normally we add the ff code in the parent project's ...

How to Auto Wire a Spring Bean from a Jsf Managed Bean in Liferay Portlet

There are 2 ways I know to auto-wire a spring bean into a jsf managed bean: 1.) Is through WebApplicationContext, invoke during jsf manage...

How to Select All the Triggers in an Mssql Table

I've found this script somewhere on the internet, just for reference: SELECT [Table] = OBJECT_NAME(o.parent_obj), [Trigger] = o.[nam...

How to Install Maven 3 in Ubuntu

To install maven 3 you need to remove first, if you have, the previous versions installed (maven2). And execute the ff command in the termin...

List of Most Commonly Use Maven Repositories

Primefaces - http://repository.primefaces.org Liferay portlets - http://repository.portletfaces.org/content/repositories/portletfaces-relea...

How to Install Virtualbox in Ubuntu

1.) Add virtual box to the repository sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian oneiric contrib&qu...

How to Install Logback Logger in Glassfish

How to install Logback Logger in Glassfish 3.1.1 1.) Download the ff jars: a.) slf4j-api.jar b.) jul-to-slf4j.jar c.) logback-classic.j...

How to Install and Setup Glassfish

1.) Download glassfish installer from http://download.java.net/glassfish/3.1.1/release/glassfish-3.1.1.zip 2.) Unzip in {your_choice}/glas...

How to Replace Openjdk7 With Java 1.6 in Ubuntu

Note that I'm using ubuntu 11.10 Oneiric Ocelot 1.) Execute the following commands: sudo apt-get install python-software-properties ...

How to Enable Maven to Push Artifact to Artifactory

This is done in ubuntu 11.10 Open /home/ /.m2/settings.xml or create the file if it does not exists. Paste the ff code: <?xml ver...

How to Install Libsvn-java Plugin for Subclipse in Ubuntu

1.) Execute the ff command: sudo apt-get install libsvn-java 2.) Then in your eclipse.ini setting add: -Djava.library.path=/usr/lib/jni...

How to Setup Openvpn to Access to a Remote Internal Network from Home

This write up will help you setup open vpn for remote access. I'm assuming you're using a windows machine :-) 1. First download a...

How to Solve Multiple Active Datareader Session in Mvc3 C#

This problem commonly happens when you try to execute a query with a return type of IEnumerable then execute a second query with the result....

How to Enable Slf4j Logging in Glassfish

This blog entry will try to setup slf4j as the main logger for glassfish 3.1.1 What you need: 1.) Glassfish 3.1.1 (zipped) 2.) Download...

How to Create a Connection Pool for Postgresql on Glassfish

This tutorial assumes that 1.) You already have Glassfish 3.1.1 installed. https://blogs.oracle.com/java/entry/glassfish_3_1_1 2.) Cre...

archive