Showing posts with label Java. Show all posts
Showing posts with label Java. Show all posts

Java passes Ruby in requested feature for App Engine

Friday, April 11, 2008 - 12:53 PM
No Comment - Post a comment

Wow, the Java/Groovy request is really gaining momentum over on the Google App Engine Issue list. This is now the number 1 request with the Ruby request ranking 2nd. Perl, an early leader has really dropped today coming now in 4th place.

I have no idea why this fascinates me so, but it really does. Perhaps it gives me a touch on the pulse of desired programming languages in this realm.

 

Interesting...

Wednesday, November 08, 2006 - 10:23 AM
No Comment - Post a comment

Here is an interesting link about the beta? release of Java 6. I've really been looking forward to this release due to the hype it is getting.

Source: http://headius.blogspot.com/2006/11/java-se-6-passes-final-jcp-approval.html

 

Bugs, bugs, bugs

Tuesday, October 17, 2006 - 3:46 PM
No Comment - Post a comment

I've been rather silent the last few days. With good reason, I've been dealing with a crazy bug in a piece of software our group wrote. The application is 400,000 lines of code long.

Many times as I've searched for bugs in code I get to the point where I think it is 3rd party software only to be proven wrong -- that it is my software. It's always embarrassing when I make the statement that it isn't my problem, but someone else's only to be wrong. Once again, I believe the problem is elsewhere.

Here is the scenario. We have an application which makes many requests to a REST styled web service. We have many clients who run this application. We have noticed that randomly one client will get another client's response. It doesn't happen often, it isn't hardly noticeable, but it is wrong. We are using Tomcat as our web server, our web service is powered by a servlet which I believe isn't handling concurrent requests. To test this, I created a simplified version of our servlet. I pass two parameters to this service, a client id and a random string. The servlet then does a MD5 hash of that string and passes it back along with the client id and the original random string. I'm basically just doing some processing to take up a cpu cycle or two. I have a client with creates 8 different threads, each with their own client id. I then begin make a huge number of requests to the servlet and check to make sure the response's client id matches the requester's client id. It fails after about 1000 requests.

I'll keep looking through this problem and see if I can find a solution.

As a side note, I have the same "servlet" running as a ruby cgi script, it does the same thing, being ran from my same client. I'm at my 16000 request without an error...

 

Programming Language Selection

Friday, September 29, 2006 - 9:44 AM
No Comment - Post a comment

Selecting a programming language is quite a process with lasting effects. Here where I work, we currently use Java. I enjoy it despite some of the bad press it is getting lately. It has great tools, great support, and great documentation. I do however, wish I was programming in something different -- Ruby. Unfortunately, we are so invested in our infrastructure and training that it becomes quite a task to change.

We have a few Ruby evangelists here including myself and we are making a bit of noise. We are about to do a rewrite of a highly used but simple web app here in the next couple months, our trouble ticket program. We will be doing it as a proof of concept as well as the needed upgrade it will be. Hopefully, everything will go very smoothly and we'll be well on our way to adopting a new standard language for a our department.