public marks

PUBLIC MARKS from bcpbcp with tag java

February 2006

Processing XML with the XML Pull Parser

The DOMParser is probably the most commonly used Java object for reading and validating XML documents. The DOMParser reads the XML and (depending on the parser initialization) will validate the XML against an XML schema. If the XML is valid, the DOMParser will return a Document (DOM) object, which represents the XML as a tree structure. The XML can be processed by walking this tree. An example of how the DOMParser can be applied to processing arithmetic expressions in XML format is discussed on a companion web page.

Introducing JSON

by 14 others (via)
JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others. These properties make JSON an ideal data-interchange language.

Agent-Based Modelling Tutorials- Main Page

This tutorial contains three main sections: * Java basics - A basic introduction to some of the concepts of the Java programming language. * Eclipse basics - A basic introduction to using the Eclipse Java development environment. * RePast tutorial - A basic tutorial and step-by-step guide to creating a RePast model (with Table of Contents here)

Java ID3 Tag Library

by 1 other (via)
This library reads song information, such as song title, artist, and album, from an MP3 file. It supports ID3v1, ID3v1.1, Lyrics3v1, Lyrics3v2, ID3v2.2, ID3v2.3, and ID3v2.4 tags. MP3 Frame Headers can also be read. There is a FilenameTag, a ID3v2.4 tag that is intelligently derived from the file name. It contains tag synchronization utilities, multiple save options, and easy tag conversion methods. more ... It is hosted at

PC Logic Games: RoboCode

. In this game, you have to program a robot in Java. You program how it moves and turns. You program how it hunts for opponent robots. You program how it turns its gun and fires. Your program can be simple or as complicated as the Java Virtual Machine allows.

January 2006

Slashdot | Quake2 Ported to Java, Play Via the Web

German software developer ByTonic software, you can now play Quake2 via the web with Jake2 a java port of ID Softwares seminal Quake2.

How To Write Unmaintainable Code

by 7 others (via)
In the interests of creating employment opportunities in the Java programming field, I am passing on these tips from the masters on how to write code that is so difficult to maintain, that the people who come after you will take years to make even the simplest changes. Further, if you follow all these rules religiously, you will even guarantee yourself a lifetime of employment, since no one but you has a hope in hell of maintaining the code. Then again, if you followed all these rules religiously, even you wouldn't be able to maintain the code!

Ruby off the Rails

by 2 others
Ruby on Rails is just one facet of what makes Ruby great, just like EJB is only part of the Java™ enterprise platform. Andrew Glover digs beneath the hype for a look at what Java developers can do with Ruby, all by itself.

November 2005

October 2005