Sar-K Code Generator

Welcome to Sar-K Code generator website! Here you can find resources and information about our tool.

This is a complex template that we developed internally. This template is used to produce code for a web application based on EJB 3.0 and Hibernate.

This file contains a Sar-K model. When selecting Edit > Save Model in the GUI, Sar-K stores a model xml file for each input that is defined in Input tab and the merged model.

This file is the starting point of a Sar-K project. It must be given as input into the command line, with the –c switch. Here is an example of the command line as it should be without a jar file:
java it.bfp.sark.main.Main-c path/to/configuration/file/ProjectConfiguration.xml

This first mapping is used to pair database types and Sar-K internal types. It is validated by the following xsd file:
src/main/xsd/Mappings.xsd

Sar-K Case Histories

This is a complex template that we developed internally. This template is used to produce code for a web application based on EJB 3.0 and Hibernate.

This case history describes a simple use case for Sar-K. The purpose of the application was the development of a company intranet, based on SQL Server database and VB.NET code.