您的位置:首页 > Web前端 > JavaScript

如何在uml中表达jsp和servlet

2007-10-14 21:05 253 查看
http://www.jguru.com/faq/view.jsp?EID=334159

Answer


As such, there are no specific notations for Servlets and JSPs in standard UML. But you can create the sterotypes for these elements. For example have <<HttpServlet>> as the sterotype and let your specific servlet classes extend this sterotype.

Though JSP becomes a servlet after compilation, it does not have the standard base class because it depends on the container vendor implementation. So instead of having any specific vendor class as sterotype, hava plain <<JSP>> as your sterotype.

You can refer the related question: Web components and UML
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: