package apps.firstapp; import javax.rad.application.genui.UILauncher; import javax.rad.remote.IConnection; import com.sibvisions.rad.application.Application; import com.sibvisions.rad.server.DirectServerConnection; /** * First application with JVx, Enterprise Application Framework. *
* @author René Jahn */ public class FirstApplication extends Application { //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Initialization //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /** * Creates a new instance ofFirstApplication
with a technology
* dependent launcher.
*
* @param pLauncher the technology dependent launcher
*/
public FirstApplication(UILauncher pLauncher)
{
super(pLauncher);
}
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Overwritten Methods
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/**
* {@inheritDoc}
*/
@Override
protected IConnection createConnection() throws Exception
{
return new DirectServerConnection();
}
/**
* {@inheritDoc}
*/
@Override
protected String getApplicationName()
{
return "firstapp";
}
} // FirstApplication