DataML
DataML is a web server extension that could be integrated in any JAVA enanbled web server. It provides a simple API to rapidly generate dynamic data driven charts, graphs and custom content, which will run on any standard Internet browser.
DataML is a markup language designed to facilitate the creation of simple dynamic data driven reports with only few lines of XML code.
As a software programmer, Tanwani Anyangwe spent most of his professional career building database driven applications that run over some kind of network. Early in his career, he came to realize that although user requirements and business rules might always look different, the final products always had some similaries.
- The application had to get data from a relational database
- This data had to be intepreted, (formated in a certain way), so as to convey some kind of information to the reader (Person/object using the application).
- The requesting user (person, application or service) had to have some kind of rights/previledges inorder to get this data/information.
- This data had to be current
- The information derived had to have a way to query for more information based on its identity
As Internet applications became more and more popular, he built his first DataML engine using CGI-PERL scripts. It wasn't at all object oriented (more than 80% - from about 8 weeks to less than weeks including system documentations),
He later built a version to work for Microsoft Active Server Pages (ASP) this worked even better. But with the advent of Java Servlets and XML technologies, he decided to build (Application Programming Interface) that other programmers could understand.
An introduction to the Data Markup Language (DataML). Build dynamic, data driven, secure and scalable web reporting applications with only a few lines of XML code
- Setting Up you DataML Environment
- The Java Environment
- How to set up an environment that can run
the Java Runtimes and interpreter the Java Servlet engine
- The DataML Environment
- How to set up up the DataML server extension
(dataml.jar) in your Java runtime extensions folder, and installing
your a servlet (such as DataMLServlet) in your web application's
servlet folder.
- Database Connection
- Create an ODBC data source for the pubs database and name it
"pubs" http://msdn.microsoft.com/library/en-us/vdbref/html/dvhowcreatingmachinedsn.asp and
http://java.sun.com/products/jdbc/ for the Java Database Connections tutorials
- The Source Files - Analysis
- Create a simple Servlet
- The source for a Servlet that processes DataML pages
- Running your Examples
New on the Java Boutique:
New Review:
Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling
API boasts simplicity, ease-of-integration, a well-rounded feature
set, and it's free!
New Applet:
Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA
sequences into three useful formats.
Elsewhere on internet.com:
WebDeveloper Java
Lots of Java information on webdeveloper.com
WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.
ScriptSearch Java
Hundreds of free Java code files to download.
jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.