There are so many concepts in ATG that make it difficult to develop Hello World. Do you want to create one JSP page and expand it as a store of links in trade? Do you want to create a component for viewing in Dyn / Admin? Do you want to create a hello world repository? Depending on what you want to do, the approach to the solution will be different.
ATG, . ATG J2EE MVC, , , ATG .
@radimpe hello world, , , Dyn/Admin.
HelloWorld: DynAdmin
Eclipse .

, .
HelloWorldComponent.java
package com.buddha.components;
import atg.nucleus.GenericService;
import atg.nucleus.ServiceException;
public class HelloWorldComponent extends GenericService {
public String firstStr = "Dummy Value";
public String getFirstStr() {
return firstStr;
}
public void setFirstStr(String firstStr) {
this.firstStr = firstStr;
}
@Override
public void doStartService() throws ServiceException {
super.doStartService();
System.out.println("Hello ATG Component!");
}
@Override
public void doStopService() throws ServiceException {
super.doStopService();
System.out.println("Hello ATG Component! Stops now!");
}
}
Manifest.mf
Manifest-Version: 1.0
ATG-Required: DafEar.Admin
ATG-Config-Path: config/
ATG-Class-Path: ./bin/
HelloWorldComponent.properties
$class=com.buddha.components.HelloWorldComponent
firstStr=HelloWorld
${DYNAMO_ROOT} , jboss.
runAssembler.bat -jboss HelloWorld.ear -m EXP_HelloATGComponentWorld
Dyn/Admin HelloWorldComponent , .

, , , .

21:53:00,485 INFO [stdout] (http-/0.0.0.0:8080-1:ipaddr=127.0.0.1;path=/dyn/admin/nucleus//com/buddha/components/HelloWorldComponent;sessionid=gT4bmHj5WKs1Rf85GN0Z+9Qu) Hello ATG Component! - sysout doStartService();
, dyn/admin . .
: Oracle Commerce