Did you know? DZone has great portals for Python, Cloud, NoSQL, and HTML5!
Solr-Lucene Zone is brought to you in partnership with:

Java

  • submit to reddit
Mitch Pronschinske05/21/12
1598 views
0 replies

Automata Invasion: Finite-State Technology in Lucene

Here's another great presentation from the just-finished Lucene Revolution 2012 with Robert Muir of Lucid Imagination and Michael Mccandless (a DZone MVB) from IBM.

Jakub Holý05/21/12
2764 views
2 replies

Bad Code: Too Many Object Conversions Between Application Layers And How to Avoid Them

Have you ever worked with an application where you had to copy data from one object to another and another and so on before you actually could do something with it?

Tomasz Nurkiewicz05/21/12
1111 views
1 replies

The Limited Usefulness of ServletRequest.startAsync()

HTTP request is no longer tied to an HTTP thread, allowing us to handle it later, possibly using fewer threads. It turned out that the specification provides an API to handle asynchronous threads in a different thread pool out of the box.

Mitch Pronschinske05/21/12
2718 views
0 replies

Hadoop MapReducers in .NET - Making C# and VB First Class Citizens in Hadoop

Why would anyone want to build Hadoop MapReducers in .NET? For one, Hadoop is a Java tool and JNBridge thinks they've found a way to make .NET a first class citizen by using their .NET to Java interop technology.

Dustin Marx05/21/12
2645 views
0 replies

NetBeans Usability Tips

As advanced as modern IDEs are, they all still have their own quirks and each seems better and easier to use when one understands some key tips (or "tricks") to using that IDE more efficiently. In this post, I look at some tips I have found useful when using NetBeans.

Christian Posta05/20/12
2464 views
0 replies

Understanding How OSGI Bundles Get Resolved: Part I

I’d like to review how OSGI bundles get resolved and use Apache Karaf to demonstrate. For part one, I will discuss how bundles are resolved by an OSGI framework.

Carlo Scarioni05/20/12
1226 views
0 replies

Creating a Custom Spring 3 XML Namespace

For me historically maybe the least approachable part of the Spring Framework is the system to define custom XML schemas to use in the configuration files for defining beans

Niklas Schlimm05/20/12
1321 views
0 replies

NIO.2 I/O Operations on Asynchronous Channels Are Not Atomic

This part of my NIO.2 series wasn't on schedule when I started writing about NIO.2 aasynchronous file channels. It deals with an important detail: read and write operations are not atomic

Jos Dirksen05/20/12
607 views
0 replies

Access WSO2 Registry Programatically

When you have many services it is a good thing to register them somewhere so your consumers can easily find them, see what they are about, determine whether the service levels are good enough

Bozhidar Bozhanov05/20/12
5837 views
5 replies

ORM Haters Don't Get It

I’ve seen tons of articles and comments (especially comments) that tell us how bad, crappy and wrong is the concept of ORM (object-relational mapping). Here are the usual claims, and my comments to them:

Nicolas Frankel05/20/12
2376 views
3 replies

EJB3 façade over Spring services

I decided to use Spring services in their fullest, but to put them behind a EJB3 façade. That may seem strange but I think that I get the best of both world: EJB3 skills are kept at a bare minimum (transactions will be managed by Spring), while the technology gets me directly through the reverse-proxy. I'm open for suggestions and arguments toward such and such solutions given the above factors, but the quicker the better :-)

Chad Lung05/19/12
2596 views
0 replies

Getting Started With RESTEasy and NetBeans IDE 7.1

RESTEasy is quickly becoming a favorite project of mine. RESTEasy allows you to easily and quickly create REST based services with Java. Today I’ll show you how fast you can have a minimal REST service running using NetBeans IDE 7.1 and RESTEasy.

Niklas Schlimm05/19/12
1508 views
0 replies

Java 7: Closing NIO.2 File Channels Without Losing Data

Closing an asynchronous file channel can be very difficult. If you submitted I/O tasks to the asynchronous channel you want to be sure that the tasks are executed properly.

Jason Baldridge05/18/12
1893 views
0 replies

Basic XML Processing With Scala

There are a lot of tutorials on XML and Scala — just do a web search for “Scala XML” and you’ll get them. As with other blog posts, this one is aimed at being very explicit so that beginners can see examples with all the steps in them, and I’ll use it to set up a JSON processing post.

Chad Davis05/18/12
1398 views
0 replies

Development Without Constraint

A presentation on developing apps with the JCR as a data storage. This includes an interesting discussion of the general topic of RDBMS verus non-relational ( NoSQL ) database offerings.