|
|
|
1000 Java Tips ebook
|
|
 

Free "1000 Java Tips" eBook is here! It is huge collection of big and small Java
programming articles and tips. Please take your copy here.
Take your copy of free "Java Technology Screensaver"!. |
|
Easy Learn Java: Programming Articles, Examples and Tips - Page 261
Previous
1060 Stories (530 Pages, 2 Per Page)
Next
Critical update for CodeRuler medieval Java game
|
What is CodeRuler?
CodeRuler is a JavaTM-based, real-time programming game based on the Eclipse
platform. It uses the Eclipse platform and a very simple API that allows users
unfamiliar with Java to easily compete while they learn the Java language.
CodeRuler gives users the opportunity to pit their Java programming skills
against other players in a medieval world of conquest. Each player writes a Java
class that represents and controls a ruler. Each ruler (class) is placed in a
simulated battle along with rulers from other players.
How does it work?
The game pits rulers against each other in a series of matches. A match consists
of up to six rulers competing with each other. Each ruler starts a match with
one castle in a random location on a finite two-dimensional grid of squares,
with the same amount of peasants and knights as the other rulers. The task of a
ruler is to give orders to its peasants, knights, and castles.
Your objective as a player in CodeRuler is to write Java code that simulates the ruler of a medieval kingdom. The new CodeRuler is now supported on Eclipse v3.0 (CodeRuler no longer works with Eclipse 2.x). Tournament results are also now listed in text, XML, and HTML. Various other bug fixes and improvements have been added.
comments? | | Score: 0
|
Posted by Anonymous on Tuesday, November 02, 2004 (00:00:00) (2875 reads)
|
Dynamic Web Data Analysis: A Design Approach
|
In a multi-disciplinary Web application development team, the fulfillment of
several roles need to occur, one of which is that of the page author. This role
typically includes HTML or JavaServer Pages (JSP) editing, graphic design, and
scripting. An experienced page author knows how to present information
effectively while conforming to relevant standards. When it comes to defining
data analyses and accessing the results, a programmer is usually required. Our
design approach capitalizes on the best skills of each role, and brings the
complex task of data analysis and results access within the scope of the page
author, while leaving the details of the data access to the programmer.
Online analytical processing (OLAP) applications use a data model that provides
an abstraction of the underlying data that separates the definition of the data
access and aggregation mechanisms from the selection, presentation, and
exploration of the data. Therefore, an OLAP-like model is particularly
well-suited to separating the roles of programmer and page author. Full-scale
OLAP engines offer a huge range of features for slicing, dicing, and aggregating
data, but as with many complex systems, the majority of users only need a
relatively small subset of these features.
We will discuss the most commonly used OLAP features and describe a simplified
OLAP-like conceptual model. The use of the model will be the foundation for a
set of custom JSP tags for page author use.
Learn about an adaptable approach which separates programming tasks from Web page design tasks. This strong conceptual model encourages good design, enables re-use of data definitions, and is well-suited to the construction of dynamic user interfaces. The authors also illustrate the particular challenges you might encounter when you dynamically change the analysis performed by Web pages.
8 comments | | Score: 5
|
Posted by Anonymous on Monday, November 01, 2004 (00:00:00) (2646 reads)
|
|
|