From the Blogosphere
Echo3 HelloWorld
Here’s a Echo3 application in 3 steps
Oct. 29, 2009 03:15 PM
Java Developer's Magazine
Here’s a Echo3 application in 3 steps -
1) Create HelloWorld.java
public class HelloWorld extends ApplicationInstance {
public Window init() {
Window window = new Window();
ContentPane contentPane = new ContentPane();
window.setContent(contentPane);
Label label = new Label("Hello, world!");
contentPane.add(label);
return window;
}
}
2) Create the HelloWorldServlet
public class HelloWorldServlet extends WebContainerServlet {
@Override
public ApplicationInstance newApplicationInstance() {
return new HelloWorld();
}
}
3) Change web.xml
<servlet>
<servlet-name>HelloWorld</servlet-name>
<servlet-class>
gov.va.med.datasharing.mgr.HelloWorldServlet
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>HelloWorld</servlet-name>
<url-pattern>/HelloWorld/*</url-pattern>
</servlet-mapping>
Read the original blog entry...
About Julian JewelJulian is one of the country's foremost experts in software design, process, and construction. He regularly speaks at major technical conferences. Not only is Julian an expert architect and programmer, he excels at passing his knowledge on to others as both a consultant and educator.
Having worked as a CTO, Julian is also in a unique position to assess and improve both your software and your software-development process. If you're a nontechnical CEO, he can help you bootstrap your startup or analyze (and help you improve) your existing software organization. He regularly does one-on-one CEO and CTO-coaching sessions, and can train individual teams and entire departments on Object-Oriented design/UML, Agile process, and languages.