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 


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
Release the newest version of the framework to persist objects in Apache Cassandra in easy way. Among improvement is the JPA annotations, also JPQL.   JCassandra jCassandra=persistence.createJCassandra("select * from Person"); List<Person> persons=jCassandra.getResultList(); table 1: sample using JPQL in Easy-Cassandra Easy-Cassandra 1.0.8 Easy-Cassandra 1.0...
on Apr 21, 2012

Programming

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: &lt;dependency&gt;    &lt;groupId&gt;eu.headcrashing.treasure-chest&lt;/groupId&gt; ...
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
Knuth-Morris-Pratt (KMP) Overview According to Wikipedia, the Knuth-Morris-Pratt algorithm "searches for occurrences of a "word" W within a main "text string" S by employing the observation that when a mismatch occurs, the word itself embodies sufficient information to determine where the next match could begin, thus bypassing re-examination of previously matched characters". Being 'A' the...
on May 10, 2012
We all know the standard Fibonacci recursive algorithm:   public BigInteger f(int n) {    if (n == 0) return BigInteger.ZERO;    if (n == 1) return BigInteger.ONE;    return f(n - 1).add(f(n - 2));  } Your challenge is to find the first 10 bytes and the last 10 bytes of f(1_000_000_000). That's right, fibonacci of one billion. Please post...
on Feb 24, 2012
I like a good Java puzzle.  The trickier the better.  In this article I will tell you about a new set of puzzles by Wouter Coekaerts that will melt your Java brain. About five years ago, I was suckered into participating in a Java Black Belt competition at a Java Tech Days in London.  This was in the days before Her Royal Highness decided she had had enough South African visitors...
on Feb 16, 2012

GUI

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

J2EE

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

J2SE

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

Community

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
In the beginning, our development team had no Java experience at all. Most of us were mainframe developers with a decade or so of IT experience. We realized that not only did we need Java training, but we needed training on object-oriented concepts as well. It seemed like a very challenging goal to achieve. One of the reasons we chose our particular Java software tools vendor is because their...
on May 28, 2012
Release the newest version of the framework to persist objects in Apache Cassandra in easy way. Among improvement is the JPA annotations, also JPQL.   JCassandra jCassandra=persistence.createJCassandra("select * from Person"); List<Person> persons=jCassandra.getResultList(); table 1: sample using JPQL in Easy-Cassandra This version has the improvements below: Supporting...
on May 26, 2012
10 years ago, when we were decided to use Java technology to create a new application, for use at Amway Corp; we thought it was sufficient to say, "We are using Java!". We were wrong... We quickly realized that there was Java 2 Standard Edition and there was Java 2 Enterprise Edition. Since we were architecting our application to run in an application server-based environment, we concluded that...
on May 14, 2012

Education

Boyer-Moore (BM) Overview According to Wikipedia, the Boyer-Moore algorithm "is an efficient string searching algorithm that is the standard benchmark for practical string search literature. It was developed by Robert S. Boyer and J Strother Moore in 1977. The algorithm preprocesses the string being searched for (the pattern), but not the string being searched in (the text). It is thus well-...
on May 21, 2012
String searching algorithm (SSA) According to Wikipedia, string searching algorithms are "an important class of string algorithms that try to find a place where one or several strings (also called patterns) are found within a larger string or text". Some important concepts that you need to understand before reading this entry are pattern, string and alphabet: Pattern: Set of elements that...
on Apr 19, 2012

Accessibility

                 Easy-Cassandra is a framework ORM API and a high client for Apache Cassandra in java, with this is possible persist information from the Java Object in easy way. For this is only necessary add some annotations in some fields and your class. It works like an abstraction's tier in the Thrift, doing call for Cassandra. The Easy-Cassandra...
on Feb 21, 2012