Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blogs by topic J2SE and user carcassi

• Accessibility • Ajax • Blogging • Business • Community 
• Databases • Deployment • Distributed • Eclipse • Education 
• EJB • Extreme Programming • Games • GlassFish • Grid 
• GUI • IDE • Instant Messaging • J2EE • J2ME 
• J2SE • Jakarta • JavaFX • JavaOne • Jini 
• JSP • JSR • JXTA • LDAP • Linux 
• Mobility • NetBeans • Open Source • OpenSolaris • OSGi 
• P2P • Patterns • Performance • Porting • Programming 
• Research • RMI • RSS Feeds • Search • Security 
• Servlets • Struts • Swing • Testing • Tools 
• Virtual Machine • Web Applications • Web Design • Web Development Tools • Web Services and XML 


In a previous post I outlined some of the problems one has dealing with real-time, asynchronous data. Since I have been working on a library to handle those issues, I'll start to go through some of the design. The library is open source, and available at It's being developed and used in the EPICS accelerator control community, which comprises various...
on Aug 3, 2012
You know that generics are too hard when you can't even figure out why something does not compile. Found this (simplified example of something that I have encountered): interface Test1<T> { public List<T> getList(); } public void test1(Test1<?> arg) { List<?> result = arg.getList(); } interface Test2<T> { public List&...
on Aug 4, 2011
This is an exercise that I did more or less an year ago to learn how to use annotations. The idea is to use the then new Java 5.0 language features to create finite state machines with no separate configuration files. By this time, probably there are already a million implementation around, but the excercise did help me quite a bit to understand how annotations can be used. Hope you like it! This...
on Feb 2, 2007


I've been working for a number of years now in the NSLS-II Control System group, creating tools that hook up to the control system. What I do is soft-real time stuff (I can drop data on the floor, I don't have hard latency requirements, etc.) mostly dealing with writing clients to display the data and let operator interact with the control system. In these conditions, you have have to think...
on Feb 15, 2012


In this post I am going to sum up things I have learned while creating a fluent API (or internal DSL) in Java. I'll talk about the search API I created for my current position: it's not a toy problem, it's a real problem, which has a significant amount of complexity. Because of that complexity, you get to see techniques and ideas that you don't usually see in toy examples. I am not including the...
on Feb 4, 2010
While much have been written on checked vs unchecked exceptions, I found very little practical, down to earth, advice on how and why to use them. Here are my thoughts after years of rumination. The common wisdom What we are typically told is to use checked exceptions for recoverable conditions and unchecked exceptions for programming errors. For example here or in Effective Java. Don't get...
on Sep 25, 2009