Java

You are browsing the archives of "Java."

Stock quote and chart from Yahoo in Java

Stock quote and chart from Yahoo in Java

I was recently in need of a stock quote web service in order to display quote information and charts for a corporate website I was working on, so I started looking around for something, free of course. I kept reading that the most common example of web as a service is the stock quote [...]

Converting a Java project to a Dynamic Web project in Eclipse

Once a project is created in Eclipse Europa of a certain type, it’s not the most straight forward process of changing the project to a different type. For example you have a project that Eclipse considers to be a Java project, but it’s actually a Web Project, you don’t get to take advantage of [...]

Simple Cross Site Scripting (XSS) Servlet Filter

Ran into some issues on some of our Java sites today and needed a quick fix to protect the sites from malicious Cross Site Scripting (XSS) attempts. If you’re not aware of what XSS is and have websites that have sensitive user data, you may want to read up, you’re probably vulnerable, which means [...]

URLRewriteFilter Servlet Filter problem in WebSphere 6.1.0.5

I recently wrote up an article on SEO Friendly URL’s for J2EE frameworks, while my tomcat implementations and WebSphere 5.1 implementations of the URLRewriteFilter were seemless, I ran into a problem on WebSphere 6.1 that caused me to rack my brain. The Output urls in the page were being rewritten fine, which is usually [...]

Java image resizer servlet

I’m working on a photo gallery application running on Java 6 using Tomcat 6, JQuery for the client side, and images and xml generated from Picasa. I needed several sizes of images for thumbnails and animations and I wasn’t about to create multiple image sizes with Fireworks (I’m a lazy developer). Doing what [...]

Decompile Java Classes automatically in Eclipse with JadClipse

Decompile Java Classes automatically in Eclipse with JadClipse

There always comes that time, when you’re debugging a Java application, when you get to that compiled code inside that open source jar that you added to make your life easier. Whether there’s an actual bug or you’re just trying to understand some behavior or weirdness you’re getting from calling this third party API, [...]

The functional mess that is Oracle JDeveloper

By corporate mandate I’ve been using Oracle JDeveloper 10.1.3.1.0.3984, that version number is ridiculous and ought to tell us something, to develop Java EE web applications on and off for about 6 months now and I’ve never been so frustrated with a development environment in my life. I hear it from seasoned Oracle [...]