... 设置数据库连接(Setting a Database Connection) 使用模型保存数据(Storing data using models) 结束语(Conclusion) ...
基于1个网页-相关网页
您将使用基本的串行化将数据转换成可保存的格式,并使用文档对象模型(Document Object Model, DOM)存储来存储它。
You'll use some basic serialization to turn the data into a savable form, and then you'll store it using Document Object Model (DOM) Storage.
允许在没有数据库连接的情况下使用保存的模型。
Let you work with a disconnected, saved model for the database connection.
这个方法违反了JSF的模型-视图-控制器(MVC)架构(请参阅参考资料),MVC架构要求使用模型bean保存应用程序数据。
The approach violates JSF's Model-View-Controller (MVC) architecture (see Resources), which requires the use of model beans to hold application data.
应用推荐