Robert has several years of professional experience and a PhD in the field of automated software migrations. He is the co-founder and CEO of Numition Ltd., a start-up company specialized in developing software migrators. Robert is a DZone MVB and is not an employee of DZone and has posted 10 posts at DZone. You can read more from them at their website. View Full User Profile

A lighter version of nBB2 is now available

03.27.2008
| 3466 views |
  • submit to reddit

nBB2 is the Java counterpart of the popular phpBB 2 forum engine. nBB2 was obtained using an automated translation process from PHP to Java performed by Numiton.

Now we have launched version 0.9.3 that uses a pure Java runtime instead of a hybrid one.

While the hybrid version of the runtime offers optimal system integration (for OS dependent functions like chown, chmod), it may have deployment restrictions on budget-friendly environments like shared hosting. The implementation of the hybrid runtime makes use of the PHP interpreter for some of the runtime function calls. However, in a shared hosting environment, operations such as process creation and sockets based communication are severely restricted or forbidden.

So we have decided to use Quercus for the few runtime functions that previously had an implementation requiring the presence of the PHP interpreter. Quercus is the Java rewrite of the PHP interpreter and exposes the Java implementations of the (de facto) standard PHP functions.

The question might arise why one might use nBB2 instead of phpBB 2. Since their functionality is identical, it's all about PHP vs. Java. Those who prefer the Java version of the lightweight phpBB 2 forum engine should go with nBB2. If you're wondering how easy is to deploy nBB2 in a shared hosting environment, stay tuned for a follow-up article on this topic.

For details, visit the project page at http://nbb2.sourceforge.net/.

0
Published at DZone with permission of Robert Enyedi, author and DZone MVB.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Comments

Marius Hanganu replied on Thu, 2008/03/27 - 12:25pm

I played with nBB2 and it's really cool. Good job guys!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.