Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我应该把我的 JavaBeans 放在哪里?
我应该将它们放在 WEB-INF/jsp/beans 或其他地方吗?
我使用 GlassFish。
基本上,JavaBeans 是实体,它们是
所以我认为没有必要考虑很多我应该把它放在哪里?考虑到你遵循编码标准。我会建议WEB-INF\classes\com\myproject\beans
WEB-INF\classes\com\myproject\beans