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

Blogs by topic: Programming

• 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 


Community

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
During the initial architecture and analysis of our J2EE-based application, one Java issue generated a lot of attention on our team : Enterprise Java Beans or EJBs. Should we use EJBs? What flavor of EJBs should we use? At the time, we received no practical advice on EJB usage. We got a lot of general advice. "Use what is best for you, etc." Quite often, we were referred to a diagram with a lot...
on Jun 4, 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
  Running the new version of the Easy-Cassandra framework it main objective is making it easy the communication between Apache Cassandra and your application in java. With it you able create, update, retrieve, delete the java's objects in easy way and simple, for this you must add some annotation in Class and fields.   Characteristics     An ORM easy to use in Cassandra...
on Mar 17, 2012

Programming

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
Brian Goetz recently provided new details on the status of JSR 335 in his OpenJDK document State of the Lambda: Libraries Edition. Project Lambda is a fundamentally important enhancement to Java 8. And, based on the response of developers in our recent poll asking how Lambda Expressions in Java 8 will affect their programming, the Java community is excited by the prospect of being able to...
on May 2, 2012
Recently, I've been investigating the methods Java provides for developing desktop applications that efficiently utilize multicore processors. Java 7's Fork/Join Framework is the current focus of my investigation. But, Brian Goetz has just provided an update on the State of the Lambda: Libraries Edition, which tells us lots about the current status of what's coming up in Java 8, where Project...
on Apr 25, 2012
A few nights ago, I was browsing the chapters about concurrent programming in Herbert Schildt's excellent Java: The Complete Reference, 8th Edition, and I was struck by the evolution of concurrency in Java over the years, from threads, through the richness of Java 5's Concurrency Utilities, and on to Java 7's Fork/Join Framework. The Java language truly has grown, adapted to the changing world,...
on Apr 22, 2012
With the advent of multicore processors on everything from desktop computers to tablets, pads, and even mobile phones, parallel processing is gaining increasing attention. This is at least in part what's behind the release of the Fork/Join Framework in Java 7, and the inclusion of Lambda Expressions (aka "closures," JSR 335) in the upcoming Java 8. While the "do-it-yourself" approach to...
on Apr 9, 2012
Note to the Java 8 development team (and the JCP): the latest completed Java.net poll indicates that Java developers overwhelmingly advocate the inclusion of JSR 310 in Java 8. Not only did the poll draw a large volume of voting, but the votes were unusually strongly skewed toward one of the six voting options. A total of 891 votes were cast, and three comments were posted as well. The actual...
on Mar 18, 2012
I've been neglecting my blog, but just a quick note to mention that my latest talk at JavaOne, DSLs with Groovy, is posted up on Slideshare. The talk's designed for someone with no significant Groovy experience (unlike most Groovy DSL talks), so if it's interesting to you, check it out. I'm hoping (but not promising) to turn the talk into a series of Blog entries in the coming weeks.  So if you...
on Mar 10, 2012
In my previous blog post, I did some experimentation with simultaneous execution of multiple threads. Since the threads were all doing relatively large chunks of work, the overhead from thread creation and management was almost irrelevant. In this post, I take a look at the overhead that launching a series of threads can have on an application. The starting point is a modified version of the...
on Feb 29, 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
Welcome to the 198th issue of The Java(tm) Specialists' Newsletter sent to you from Chania in Greece. My readers in colder climates frequently get annoyed when I tell them that "life's a beach". They imagine us having constant sun here. It's not true. We do sometimes have torrential rains and cold weather. It even snows here occasionally. In fact, the delivery...
on Feb 14, 2012

Databases

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
I'm at Strata Santa Clara again this year.  I'll post my raw notes.  Hope you find them helpful.
on Feb 28, 2012

GUI

VisualLangLab now has a Java7 (JDK7) grammar!  Read on to find out how you can use the grammar to locate usages of the new Java7 (project coin) language features in the source-code of the Oracle JDK 7u3 itself. If you are new to VisualLangLab (an easy-to-learn-and-use parser-generator) condsider reading the tutorial A Quick Tour. Java7 (JDK7) Grammar Specification The Java7 (JDK7)...
on Mar 3, 2012
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

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