%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ page import="javax.naming.*" %>
<%@ page import="com.blogspot.diegopacheco.eefive.ejb.*" %>
Teste
Ola Mundo EE 5 ! Data:
<%
try{
InitialContext ic = new InitialContext();
DateService ds = (DateService)ic.lookup("java-ee-test/DateServiceImpl/remote");
String dt = ds.getDate();
out.print(dt);
}catch(Exception e){
out.print(e.getMessage());
}
%>