protected void processRequest(HttpServletRequest request, HttpServletResponse response) { ... request.login(userName, password); ... ... request.logout(); }As I check in the documentation in JEE6, the login() and logout() was there but not in JEE5. I did a check on the project facet in Eclipse IDE, the project was using Dynamic Web Module 2.5 and Java 1.6. Can I conclude that my tomcat is actually working with JEE5? I am so curious what else did I miss configure in order to support JEE6?
As I did a deep search, this can not be done. Why? Because Tomcat isn't an enterprise server. I found the clue from here. To proof me right, I run quick test on WAS Liberty Profile and Tomcat EE by configuring the target runtime in Eclipse IDE. Both of them compile without any error. Cheers!
By the way, I though I suppose to aware of this since I have been doing enterprise software for 3 years?
No comments:
Post a Comment