For any of you who are used to picking colors with the Photoshop color picker, you will love this:
http://www.colorpicker.com/→ Continue reading “Online Color Picker Tool”
Principal Software Engineer/Architect, motorcyclist, drummer, and artist
For any of you who are used to picking colors with the Photoshop color picker, you will love this:
http://www.colorpicker.com/→ Continue reading “Online Color Picker Tool”
I am building a project whereby I have a Singleton Bean that I want to fire up when the .jar is deployed in the EJB container, thus I have it annotated as follows:
package com.ryanchapin.ejbTest
@Startup
@Singleton
public class SingletonTest{}
Of course, I have the requisite Local and Remote interfaces set, up, I’ve just left that off for brevity. I am attempting to do a JNDI lookup, from a Servlet in the same JVM using the Local interface which results → Continue reading “Accessing an EJB 3.1 Singleton Bean with @Startup from a Servlet in the Same JVM Instance”
The Helios JavaScript validator does not seem to like the jquery-1.5.min.js (or for that matter a number of other know good js libraries). As a result Eclipse complains a lot when building a project.
The quick fix that I found was to disable JavaScript validation under the Builder preferences, for your project:
Project/Properties/Builders
Simply, uncheck the “JavaScript Validator” and you should be all set.→ Continue reading “Disabling JavaScript Validation in Eclipse Helios 3.6.1”
Let’s say that all that you have access to is the command line on a Linux box and you want to know what the network throughput is. If you have another Linux box you can use netcat to do a quick test:
On box a:? Set up netcat to listen to a given port:
nc -l 12345 > /dev/null
Fire up netcat to listen on port 12345 and to dump the output to /dev/null.
On box b:? Send data via → Continue reading “Simple Network Speed Command Line Test for Linux”
?When I first set up a developoment VM with CentOS I must have forgotten to install the Java source because I could not navigate to Java SE method declarations in my Eclipse IDE.
To have access to the Java source I did the following:
I created a src dir in the aforementioned containing dir and unpacked the zip
I then linked to the source from Eclipse by:
Right-clicking on some → Continue reading “Installing Java SE Source Files and Linking to Eclipse on CentOS 5”
When I then ran through the Eclipse add server wizard the 6.0 version of JBoss AS was available.→ Continue reading “Installing JBoss AS 6 Tools in Eclipse Helios”
By default, the newer versions of Eclipse do not include the libraries that you add to the build path in .war files. There are three approaches to solving this problem:
In some cases it is helpful to have your Java project automatically built and deployed for you by Eclipse. For me, when working on a dynamic web or JavaEE project I’d much rather run it on the server through the IDE manually, as I tend to save often and I end up having to wait for a previous deployment to finish on a regular basis.
To disable the feature:
A couple of links with lists of the default set of Linux daemons installed on most systems. Helpful to know which ones that you need to disable when locking down a machine.
http://www.hscripts.com/tutorials/linux-services/index.php→ Continue reading “Linux Daemons and Services List”