何だろうこの開き直りきった感のあるテクノロジは。

TSSのフィードで拾ったデスヨ。

JSSP (JavaScript Server Pages) is a runtime library to generate web pages using JavaScript on a Java web server. It requires a web server that can run Java Servlets (such as Tomcat, JBoss or others).

サンプルコードが、凄い。

<table>
<%
// JSSQL example

// Create a statement for the query.
// Assume that connection has been initialized.
var stmt = connection.SELECT ID, NAME FROM TEST;

// Execute the query.
var rset = stmt.run(); 

// Output a row for each record.
while (rset.next()) {
	// Access columns directly by name without worrying about their type.
%>
	<tr>
		<td>
		<%= rset.ID %>
		</td>
		<td>
		<%= rset.NAME %>
		</td>
	</tr>
}

// Closing the connection automatically closes all associated resources.
connection.close();

%>
</table>

この凄まじい文法を可能にしているのが、こいつらしい。

JSqlParser parses an SQL statement and translate it into a hierarchy of Java classes.
The generated hierarchy can be navigated using the Visitor Pattern

まぁ、何というか、こいつ、他にも色々使い道あるんじゃね…?とか言っておく感じで。