Struts & WSBCC

zhaozj2021-02-16  120

?????? Today, today's online inadvertently browsing an article introduces the data of Struts Hibernate to build J2EE, I just finished Struts, I have a little understanding, I have been in the last month. Look at the company's products, this is a set of Framework developed by IBM's WSBCC4 (now its name has been changed to BTT, the latest version is 5.0) framework, and there is a comparison of people on NewsGroup on NewsGroup. After WSBCC and Struts, there was no feeling at the time, mainly for Struts. It is now a bit clear, and it is also seen that IBM's WSBCC is much larger than Struts, although there are similar places. Here is the article comparison with the company's colleagues:

> Both are the framework of J2EE programming (Framework), Struts can only be used for web layers, WSBCC is not only supported by the Web layer, the web layer is just a channel, namely online banking, WSBCC is support channel integration, It can also be supported> Call Center, ATM, mobile banking and teller system development. The size of WSBCC is much larger than Struts, and some> parts can be applied in the usual Java programming. WSBCC also supports the development of clients. WSBCC support channel integration> Part is a com.ibm.dse.clientServer package. > The following compares WSBCC and Struts for web layer development support> The session processing in WSBCC can be handled by itself, of course, can also use the web container itself, Struts only> dependently dependent the SESSION process implemented by the web container. Dse.ini files in the ChannelHandlers configuration, where HTML or it> His channel has a cookies switch, which can be set to true or false. Our development is set for False, and WSBCC> uses your own session, such as True, uses the SESSION of the Web container. > Form Data Processing. Struts fills the data in the Form into the specified class, and then call the Action class as a few. WSBCC is in the Datacollection fills to the defined Datacollection and then calls> Operation. This is basically the same. >> Business logic processing. Struts Processes only in the Action class Perform (earlier version) or Execute (now version)> method, if resilience, the programmer needs to refine itself. WSBCC is extremely powerful in this treatment. > WSBCC calls Operation Execute method, Operation calls multiple OPSTEP's Execute method, each> opstep implementing a function. Operation and OPSTEP data call passes the Context defined by WSBCC. > OPSTEP implementations may access some resource (such as peripherals, databases, remote network systems, etc.), then> To process the WSBCC defined. When accessing the remote network system, you need to organize data as required, this is> to use the Format defined by WSBCC. This makes it possible to see the WSBCC's architecture excellent. In the sense of MVC, Struts is not supported by Struts to M> (Business Logic), and WSBCC fully supports M's programming. > Struts configuration file structure is simple, and WSBCC's configuration file structure is complicated. Struts developed can be combined> It is not as possible to configure the WSBCC. > Struts' Controller uses URL mapping to locate the Action bean (Business Logic) to call, in the configuration file> specified. WSBCC needs to specify the Operation you want to call in the page. > Struts Defines a number of tags for JSP, WSBCC does not define any JSP tags. >> Summarize the support of MVC: >> Struts mainly supports C (ActionServlet and Action class), also support V (tag library and form bean).

转载请注明原文地址:https://www.9cbs.com/read-10401.html

New Post(0)