Home

Search results

"tag:"java""

<< Previous 1 2 3 Next >>

Title and summary Date/time
21
Persistent State Machine with Apache SCXML
The source code for this blog article can be downloaded here. I'm bored of reinventing the wheel. Everytime I need a state machine to ensure my states traverse only valid transitions, I find myself either not bothering, because I trust my coding (and ...
Aug 26, 2010
11:21:00 PM
22
Taking Advantage of Parallelism
A while ago some colleagues attended a lecture where the presenter introduced the idea that applications may not take full advantage of the multi-core servers which are available today. The idea was that if you have two cores but a process which is ...
May 16, 2010
3:50:00 PM
23
GlassFish 3 In 30 Minutes
The aim: Set up a simple Java EE 6 project on GlassFish v3 in no time at all. The project must include: email, JMS, JPA, web and EJB (session bean, message driven bean and a timer bean). It must also include security and transactions. Sounds like a lot, ...
May 8, 2010
11:40:00 PM
24
Transfer-Encoding: chunked
The J2ME HTTPConnection which comes with MIDP lets you make HTTP requests to your server. It doesn't do much at a high level, for example the API doesn't have methods like addCookie() - you need to manually add them with a request header. But the ...
Feb 24, 2010
7:27:00 AM
25
A J2ME Library and a simple HTTP Service Framework
J2ME's support for calling a server is rather simple and low level. Not only do you have to deal with the HTTP Connection at a low level, there is no high level support for cookies, authentication or remote procedure calling. So if you want to pass an ...
Feb 21, 2010
11:29:00 PM
26
Base X Encoding
Ever needed to shorten a number so that its easier to remember? Or provide someone with a temporary PIN which is short enough to remember, but long enough to pretty much ensure it wont be randomly guessed by someone else? Converting a binary number into a ...
Feb 2, 2010
8:19:00 PM
27
Enterprise GWT: Combining Google Web Toolkit, Spring and Other Features to Build Enterprise Applications
The following is just the introduction taken from a new white paper available at www.maxant.co.uk/whi...
Jan 25, 2010
8:00:00 PM
28
Professional enterprise JAX-WS in no time at all?
My current client is talking about migrating to Java 1.6 and a Java EE 5 app server (we are currently still on 1.5 because our data center only supports an older app server). One reason for doing so is that this stack supports JAX-WS. Not knowing much ...
Dec 22, 2009
10:26:00 PM
29
Building a Webmail Solution on top of Apache James Mail Server
Part of maxant's offering to small businesses is email hosting. As well as standard POP3/SMTP access, maxant offers webmail access. A quick search on the web shows that there are several open source webmail solutions available. The problem with all of ...
Sep 29, 2009
3:49:21 PM
30
Java EE Security and Spring
Spring Security (originally ACEGI) does not seem to work out of the box with Java EE security (see here). I guess the reason is clear, namely that the people from Spring don't want you to be tied into Java EE and that makes sense because Spring something ...
Jun 2, 2009
8:30:00 PM
31
java.util.Calendar and the before method
Came across this nice problem today: The java.util.Calendar class provides a method "before(Object)...
Nov 20, 2008
11:20:00 PM
32
Cross Site Scripting (XSS) and Denial of Service (DoS) using AJAX and other Technologies
The other day I was wondering how Google Analytics works... You put a few lines of Javascript into your page and it loads another script to send data back to one of its servers. I assumed they used an AJAX XMLHttpRequest to send stats to their server. ...
Oct 16, 2008
11:36:00 PM
33
ThreadLocal and Thread Pools
ThreadLocal is a mechanism that can be used to put data onto a thread so that it can be accessed from any code using that thread. One use is to make contextual information relevant to the current thread available throughout the stack trace, for example a ...
Sep 23, 2008
10:13:00 PM
34
Spring Services Anywhere
I recently embarked on some Spring "re-training&qu...
Aug 7, 2008
10:51:00 PM
35
Secure Remoting with Spring and JBoss
If you are faced with having to write a rich client application in a multi-tier Java EE environment, you will typically connect to the application server over RMI. In theory, you are meant to use the servers Application Client Container and deploy your ...
Aug 7, 2008
8:58:00 PM
36
OSGi - Just another fad?
In the last few weeks I have heard the term OSGi come up more and more, and one blog posting I read suggested that it was the hot topic of 2008. So I started to research a little. I am currently working heavily with the Eclipse Rich Client Platform ...
Jun 10, 2008
10:31:00 PM
37
Eclipse Help / Infocenter - External Web Application Mode
Previously in this blog, the Eclipse Help / Infocenter was discussed and details on how to set up the help for an RCP application were given. But often you want to have your help for an application online as well as part of the product, for example if ...
Jun 9, 2008
10:25:00 PM
38
Eclipse Help / Infocenter - Workbench Mode
Eclipse offers plugin authors the ability to add Eclipse Help to their plugins. Opening that help will give a nice window with searchable help, something like this (click on the image to see it in full size): The following blog entry shows how to ...
Jun 8, 2008
11:13:00 AM
39
EJB Frustrations
This is by far not the first time I had worked on a project with EJBs (Enterprise Java Beans, see http://java.sun.com/...
Jun 1, 2007
10:23:00 PM
40
Login doesn't appear to work?
I've come across the following problem in IE7 in several products which I initially commented on at the MVN Forum forum (incidentally MVN Forum is a great open source Java Web Forum). Here is a copy: First, thanks for MVNForum - I've used it before, and ...
May 15, 2007
8:19:00 PM

<< Previous 1 2 3 Next >>