Skip navigation.
Home

Javalobby

Syndicate content
Updated: 5 hours 8 min ago

Daily Dose - Clang++ Gets a "Boost"

Sat, 05/22/2010 - 09:30
This week, Clang++, the C++ front-end compiler for the LLVM, had its first successful Boost regression test run.  Boost is a collection of open source, peer-reviewed C++ libraries, and it's known for using bleeding-edge C++ techniques (such as preprocessor metaprogramming and extensive template) that push many C++ compilers to their limits and beyond.  Now Clang++ is comfortably compiling more...

Socket Communication in Client/Server Relationship

Fri, 05/21/2010 - 19:22
When writing java code for a Client or Server, using Sockets are the most efficient way to communicate between the client and server.  Sockets are flexible, sufficient, easy to implement, and they do not use a lot of network traffic. There are many reasons why your client/server may not be connecting to each other:Make sure you import “java.net”Make sure the socket is bound to a port...

The Birth of GroovyMag

Fri, 05/21/2010 - 19:21
When Michael Kimsal first got involved with Groovy, he noticed that Grails had a lot of things out of the box, but it didn't have a "press a button and start" experience.  Kimsal was looking for that kind of experience at the time, so he developed a Grails starter kit to give people a jump-start on development.  Although there wasn't a large need for the starter kit, the experience...

JSON and NoSQL DB's

Fri, 05/21/2010 - 17:35
Last few months my work involved some web services stuffv(SOAP). For a variety of reasons,SOAP was chosen over REST,which means i had to deal again with XML's. There are plenty of libraries and tools in market to parse or build a XML,but still never in my life i felt comfortable with xml parsers.References Reference:  JSON and NoSQL DB's...

10 Ways to Maximize Your Conference Experience

Fri, 05/21/2010 - 17:10
I've been a conference attendee, speaker, advisory board member and organizer. Each of those four roles has taught me something. I'd like to share a little bit with you so you can make the most of your conference experience. References Reference:  10 Ways to Maximize Your Conference Experience ...

Arduino Development Using NetBeans IDE

Fri, 05/21/2010 - 11:52
The Arduino development environment is probably the preferred development platform for the majority of Arduino users. It is lean and relatively easy to use. Quite a few examples are at your finger tip and even for people without much programming experience, it is relatively easy to get started. You can write and upload your sketches (programs) without the need to ever leave the IDE.

Introducing NIO.2 (JSR 203) Part 1: What Are The New Features?

Fri, 05/21/2010 - 11:45
I will write a series of blog to discuss what are the new features introduced in NIO.2 (JSR 203). The NIO.2 implementation is a part of OpenJDK project and we can alreay use it by downloading a copy of OpenJDK binary.  In the first entry I will just go through what are these new I/O features of Java 7, which help developer iron out better applications easier. ...

Db4o via Maven

Fri, 05/21/2010 - 11:42
I couldn’t find the correct maven deps for db4o if you use transparent activation … so here you are: James Sugrue

Daily Dose - Lightspark: Free, Open Flash

Fri, 05/21/2010 - 09:30
A free and open source Flash player has emerged this week in beta.  The Lightspark beta is close to having full ActionScript 3 support and it even includes debugging and profiling tools.  The software uses hardware accelerated OpenGL-based rendering and works as a standalone player or as a Mozilla plugin.  Lightspark is 100% compliant with SWF specifications, say the developers, so no reverse...

Android 2.2 and Beyond

Fri, 05/21/2010 - 00:56
Google unleashed Android 2.2 "Froyo" today during the second keynote of Google I/O.  Even though we knew about many of the coming features before this announcement, there were plenty of surprises as well.  Some of the most tantalizing features were the ones for future Android releases that were seen in demos.

Automating Releases With maven-release-plugin

Thu, 05/20/2010 - 21:55
The maven-release-plugin is used to automate a lot of the manual steps involved in releasing new versions of your software. The automation prevents mistakes which ultimately occur using a manual process. The amount of work the plug-in does is impressive – it will perform these basic operations. Subtitle:  Configuring Maven, Eclipse, CVS, &...

Technology Adoption and the "No"-gates

Thu, 05/20/2010 - 17:17
Let's say you've found some new, good way to do business.JSON, for example. Or Agile Methods in general. Or TDD specifically. Or use of an ORM. You read up on it. You build a spike solution to show that it's more efficient. The First No-GateYou make The Essential Pitch. You keep it simple and direct.References Reference:  Technology...

Java NIO - Question About Buffer Design

Thu, 05/20/2010 - 16:51
I am currently writing a tutorial on Java NIO, and I have just updated the text on Buffers. About the design of Buffers, I have question to the Java community, but let me first describe the Buffer mechanism it is about:When you create a new Buffer, e.g. a ByteBuffer, it is in write mode. The Buffer has a limit saying how many bytes you can write into it, and a position of the next byte to write...

Software is Like Pornography

Thu, 05/20/2010 - 16:45
There's a famous quote from the United States Supreme Court a few years ago. They were trying to determine what was art and what was pornography. Lawyers being what they are, they were trying to quantify what pornography was so they could write it down... encode the definition into rules. Unfortunately this is a very difficult task. One of the judges expressed his frustration by saying that he...

What Advice Would You Give to a Software Development Graduate?

Thu, 05/20/2010 - 13:00
As students graduate from their software development and computer science courses, what advice some of you in the community would give to them? While it might not be that easy to get a job, the variety of technologies and languages has never been better. Any companies that are hiring graduates will have high expectations, so for a start, graduates need to know more than just their course. Here's...

HtmlUnit: A Quick Introduction

Thu, 05/20/2010 - 11:41
HtmlUnit is an open source java library for creating HTTP calls which imitate the browser functionality. HtmlUnit is mostly used for integration testing on top of unit test frameworks such as JUnit or TestNG. This is done by requesting web pages and asserting the results. Simple Example @Testpublic void testGoogle(){ WebClient webClient = new WebClient(); HtmlPage currentPage =...

Display Images From a Non-Project Directory in JSF

Thu, 05/20/2010 - 11:37
When using image related tags in JSF we come across a situation where we need to display an image from the system which is not in the project directory. The images which are in the project directory are easily displayed using the relative path in the "src" or "value" attribute in these tags but displaying images using absolute path is not possible directly in JSF using these...