Subscribe: SourceForge.net: SF.net Project News: FormattedDataSet API
http://sourceforge.net/export/rss2_projnews.php?group_id=87044
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
api  arrays  arraysql  col  data  demo  fdsapi  formatteddataset api  formatteddataset  jamon  java  javadocs fdsapi  select  xml 
Rate this Feed
Rating: 3.5 starRating: 3.5 starRating: 3.5 starRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: SourceForge.net: SF.net Project News: FormattedDataSet API

Recent changes to news



Recent changes to news



Last Build Date: Fri, 14 Sep 2012 16:56:41 -0000

 



FDS live demo news

Fri, 14 Sep 2012 16:56:41 -0000

The FormattedDataSet live demo that has been available for several years at www.fdsapi.com is being removed due to rising hosting costs.



ArrayConverter - Formatting Arrays For Display

Fri, 14 Sep 2012 16:56:41 -0000

The ArrayConverter class has been added. This class is great for formatting arrays for display in a web browser. For example it can make numbers comma delimeted or format dates in a locale specific manner. However, ArrayConverter is more general than that and really can covert any cell of an array into any Object. See the javadocs at http://www.fdsapi.com for examples.



Querying Java 2 dimensional Arrays - The ArraySQL class

Fri, 14 Sep 2012 16:56:41 -0000

The ArraySQL was added to the FormattedDataSet API. ArraySQL allows SQL like synax to be applied to Arrays. This class can be used with the FormattedDataSet or as a standalone utility class. The API also has the ability to convert ResultSet's into 2 dimensional Arrays. This allows you to query ResultSets as the following example shows. See the javadocs at http://www.fdsapi.com for more examples. // The following examples shows how ArraySQL can be used to add a row number to a ResultSet DataAccess da=... See javadocs for an example ResultSetConverter rsc=da.getResultSetConverter("select * from employees"); String[] header=rsc.getMetaData(); Object[][] data=rsc.getResultSet(); ArraySQL asql=new ArraySQL(header, "select rowNum(), * from array"); data=asql.execute(data); // Although the example only uses Strings, other data types are supported header={"fname","lname"}; data={{"steve","souza"},{"steve","smith"},{"jeff","beck"},{"sam","souza"},}; ArraySQL asql=new ArraySQL(header, "select rowNum(), date(), col0, fname, lname, * from array where lname in ('souza', 'beck') && fname!='sam' order by lname desc, col0"); data=asql.execute(data); // returns 2 rows and orders the results // The same object can be used on data multiple times data=asql.execute(data2);



Querying Java 2 dimensional Arrays - The ArrayFilter class

Fri, 14 Sep 2012 16:56:41 -0000

The FormattedDataSet has added a utility class for Java 2 dim arrays (Obejct[][]) that allow a developer to query arrays. The class does for arrays what a SQL 'select' statement does for database tables. The API allows a developer to filter by columns and rows. Filtering columns is similar to the list of columns in a select statement and filtering rows is similar to a 'select' statements 'where clause' (i.e column and row filters used together are like the following: 'select col1,col2, col5 from array where col1="jones"and col2>20000'.)



Code Made More Easily Accessable

Fri, 14 Sep 2012 16:56:41 -0000

All FormattedDataSet API Code has been made more easily viewable by simply typing in the java class name in the following format. Due to browser compatibility issues the code is also viewable by appending .txt to the class instead of .java. http://www.fdsapi.com/javadocs/com/fdsapi/FormattedDataSet.txt http://www.fdsapi.com/javadocs/com/fdsapi/FormattedDataSet.java



New FormattedDataSet Documentation Added

Fri, 14 Sep 2012 16:56:41 -0000

More documentation has been included on the FormattedDataSet Home Page (http://www.fdsapi.com). The documentation includes the FormatteDataSet Users Manual, and two HTML PowerPoint presentations. All are available via the related links section at the top of the home page. This documentation was previously only available via download.



JAMon API Released on SourceForge

Fri, 14 Sep 2012 16:56:41 -0000

JAMon API - An easy, fast, flexible Java performance tuning and scalability measuring API has just been moved to SourceForge. The FormattedDataSet uses JAMon to measure many things including all calls to the FormattedDataSet class and all JDBC calls. Because JAMon is required to use the FormattedDataSet you can use JAMon to monitor other aspects of your application too. Check it out at http://www.jamonapi.com or off of the link at http://www.jamonapi.com. To see the types of statisitics that JAMon gathers in FDS (FormattedDataSet) go to http://www.fdsapi.com and select 'Live Demo' and then 'JAMon Stats'.



FormattedDataSet Live Demo Available

Fri, 14 Sep 2012 16:56:41 -0000

The FormattedDataSet API is possibly the easiest way to generate dynamic text including HTML, XML, WML, JavaScript.... An online demo application is now available at http://www.fdsapi.com. The application allows developers to more clearly see the FormattedDataSet in action by entering SQL and having the results come back as an html table that is sortable by clicking on the column headers. A servlet filter has also been added to the application that tracks performance and hit counts for web resource files such as JSPs, HTML, GIFs, and JPGs. The demo application is also available for download at http://www.fdsapi.com



FormattedDataSet API Initial Release

Fri, 14 Sep 2012 16:56:41 -0000

The FormattedDataSet Java API has been released. The FormattedDataSet API is the easiest way to generate dynamic text (HTML, XML, WML, JavaScript...). It has been released under a BSD license and source code, binaries, and documentation are all available. The FormattedDataSet combines data and formatting to generate the dynamic text. Templates contain formatting. Out of the box the FormattedDataSet can generate all common HTML elements (table, list box, drop down list box, multi-select list box), and XML. Developers can easily create their own templates too. Here is some sample JSP code that uses the same query to generate XML and an HTML table: FormattedDataSet fds=FormattedDataSet.createInstance(); String html=fds.getFormattedDataSet('select * from employees', 'htmlTable'); String xml=fds.getFormattedDataSet('select * from employees', 'xml'); Steve http://www.fdsapi.com



ArraySQL - Improvements

Fri, 14 Sep 2012 16:56:41 -0000

ArraySQL allows a java developer to query 2 dimensional Object arrays (Object[][]) in a SQL-like manner. Improvements have been made in syntax error checking and a few bug fixes have been made. ArraySQL is easy to use. Sample syntax follows: select rowNum(), 'String Constant', * from array where (col0='william' and col1='reid') or (col0='jeff' and col1='beck') order by col1 desc, col0 asc