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

Blogs by topic: J2SE

• 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 


Programming

I just finished delivering a talk at Oredev 2013 on better concurrency in Java 8. With Lambda’s being the biggest new feature I naturally needed to address what they had to offer. I wanted a meatier example than the ones where you write a query to find all the people that make more than you do so I decided to write the example around was on how to sum up all the application stopped time records...
on Nov 10, 2013
Each of these objects can be described in terms of the classes or types to which they belong for instance a maple tree belongs to the class of tree or is a type of tree, a bicycle is a type of cycle, a car is a type of vehicle. OOP is thus a very powerful language abstraction that allows you to simplify the complexity of a problem while retaining its value. Java is an Object Oriented...
on Oct 16, 2013
As this JavaRanch article by Mark Spritzler proofs, there seem to be some people that like to have a generic visitor pattern, so I decided to open source mine (LGPL), which lies around here on my disk for some time. Have fun using it, it is as simple as linking to: <dependency>    <groupId>eu.headcrashing.treasure-chest</groupId> ...
on Oct 3, 2012
I hate adding lots of huge multi-JAR all-purpose common libraries to rather small projects! Huge footprint just for a single class is a side effect of many popular frameworks, unfortunately, due to rather coarse-grained modularity. So I started to publish some of my commons (LPGL'ed) code as single-class self-contained artifacts on The Maven Central Repository. You simple need a Range<T>...
on Sep 7, 2012
Earlier versions of VisualLangLab required the user to specify an alphanumeric name for all tokens. This made it difficult to understand rules using tokens without intuitive names. A good example is the rule infixOp from a Java grammar in Figure-1 below. Figure-1. Rule with non-intuitive token names While PLUS and MINUS have good mnemonic value, many users will not understand TILDE and BANG. And...
on Jun 20, 2012

J2SE

Much of what you do in Java is to define classes that package data and functionality together by concept to represent the desired problem-space element. When you instantiate a class, you create an object that has it's own piece of memory made up of other objects. Java has a peculiar means of manipulating these elements in memory. This is to say even though you treat everything as an object, you...
on Oct 25, 2013
Silicon Valley Code Camp is one of the best known secrets and one of the best organized conferences in the Bay Area. I have the pleasure to speak at this conference for the past two years and am amazed at its growing popularity. Here are some statistics for this year 4500 registrations and registration was closed 230 sessions The Code Camp consists of these points: By and for the developer...
on Oct 6, 2013
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 http://pvmanager.sourceforge.net. It's being developed and used in the EPICS accelerator control community, which comprises various...
on Aug 3, 2012

J2EE

I will be presenting the following sessions at Silicon Valley Code Camp 2013. For those in the Bay Area, Silicon Valley Code Camp is on Oct 5,6 2013 in Foothill College, Los Altos. It is a very well organized conference by the developers for the developers. This year has 232 sessions and 4500 registrations and am always amazed at the way Peter Kellner and his team pull this off! These are my...
on Oct 2, 2013
While I don't normally blog about the exiting world of JVM command line options, this new 7.0 option, which allows you to rotate to a new GC log file, was just so exciting... err... not so widely published that I decided to share. Of course these options only apply when you've used the -Xloggc: option. The settings are; UseGCLogFileRotation, default value: false NumberOfGCLogsFiles, default value...
on Aug 20, 2012

GUI

Visual Library is a library in NetBeans, which you can use in standalone Java apps, for doing beautiful, complex, animated layouts. JUNG is a library for exploring graphs of connected data. What if we put those two things together? That's what I did. The result is on GitHub. Video demo and more info over on my timboudreau.com blog.
on Sep 4, 2013
Due to a painting regression in JXPanel for Synth-based Look and Feels, we are releasing a regression fix. The new files should appear in Maven Central soon.
on Feb 28, 2013
I am pleased to announce the release of SwingX 1.6.5. The new release is available in Maven central. As always, you may report bugs or request new feature via JIRA. You may also contact us in the discussion forum. Release Notes - SwingX - Version 1.6.5 Bug [SWINGX-1336] - Flickering in JXPanel with alpha < 1 [SWINGX-1449] - JXButton doesn't update font if...
on Jan 29, 2013
Swing is not dead, still. While a whole lot of evangelists try to talk it dead, it is still part of the JRE. While SWT is not, still. And while JavaFX is not, still. Dispite all hypes and rumors. It is not even declared to be deprecated or obsolete. So in fact, there is no other real alternative to Swing as long as the GUI must work solely with JRE means (I won't say AWT is an alternative). And...
on Sep 7, 2012

Community

Very soon, it will be time for the annual Java One conference in San Francisco, California. Thousands of Java-fanatics will make the journey to my favorite city "by the bay" (and my home town). Thousands more Java-fanatics will not attend (including me) and wish they could. I hope all attendees will have a great and productive time at Java One 2013. My general advice to attendees is, "Make the...
on Aug 25, 2013
It never ceases to amaze me where some solutions in application development come from. We had a requirement for our application to allow a user to print pages of text. The user would bring up a web page, from our app, and then create & print a list of customer names. The list of names would be created by executing a SQL query against the database, using a variety of search criteria. The users...
on Jul 23, 2012
As we began our Java adventure at Amway Corp 10 years ago, one of the most important tasks we had to do was to create our Object Model. We had a variety of Java objects that we were planning to use in our application. How were they going to be "wired" together inside of the application? After 4 weeks of Object-Oriented, J2SE, J2EE training; we set out to define our Object Model. This model was...
on Jul 16, 2012
JCertif 2012 Call for Papers Now Open -- http://www.jcertif.com! As some of you already know. The next edition of JCertif is coming and will take place on September 03th-09th in Brazzaville, Congo. If you have an interesting presentation idea, we want to hear from you! We invite you to share your Java experiences with the industry and community by submitting a proposal for this far from the «...
on Jun 6, 2012

Servlets

Have you wanted to do something with asynchronous I/O? I did. After doing some work with Node.js, I wanted to find a way to get some of the goodness of its programming model for Java. The Acteur project is the result - a framework for building scalable, asynchronous web applications using Netty + Guice - was the result. The programming model is a little unusual - you treat constructors as...
on Apr 7, 2013

Databases

        Launched the latest Easy-cassandra version, that come with improvements to manage multi-nodes. Use many node is very usefully in Cassandra because avoid bottlenecks, fault tolerance, elasticity.     After have multi-nodes in Cassandra, the next step is divide task between their. Secondly join the databases like only one ( reply all information among their...
on Oct 3, 2012