tailieunhanh - Teach Yourself J2EE in 21 Days phần 9

và trẻ em kỹ năng và vị trí đầu ra bên trong một bảng HTML ở dòng 6 và 8. Trong dòng 6, bảng HTML thuộc tính biên giới được kèm theo trong dấu ngoặc kép để nó là hợp lệ XML (cùng là cũng đúng cho dòng 10 và thuộc tính colspan). Dòng 12 sử dụng một quy tắc phù hợp với các yếu tố | Using RPC-Style Web Services with J2EE 879 Figure Web Services are just another channel through which to access business functionality. Web Service Client ỊỊỊỊỊỊỊỊỊỊỊỊỊỊỊ II IIII II Illi III Illi Illi Illi mini ill iiliiliilliilii ỊỊỊỊỊỊỊỊỊỊỊỊỊỊỊ II IIII III II ill III ill II IIIIIIIII mill IIJJIIJIIJIIIJI J2EE Server SOAP Request SOAP Response HTML Request HTML Response WML Request WML Response SOAP servlet HTML servlet WAP servlet The other type of J2EE component in which application logic can be held is a servlet or JSP. You may ask how you would wrap this functionality for use as a Web Service. Well the issue here is that many of the Web components in question are already acting as channels to some form of client as shown in Figure . Consequently wrapping them makes no sense. What you should do is create a replacement for such a Web component that is targeted at Web Service clients rather than Web browsers. If your Web components are well designed you should be able to reuse the JavaBeans servlet filters and helper classes even servlets JSPs that they use as part of your Web Service implementation. If you already have servlets or JSPs that generate XML you might be able to migrate them to meet your Web Service needs or transform the generated XML as part of the solution. Using an RPC-style SOAP-Based Web Service SOAP grew out of an effort to create an XML-based method invocation mechanism for distributed objects primarily Microsoft s DCOM . As such it is an ideal transport for method calls made over Web Services. 20 880 Day 20 RPC-Oriented Web Services Remote Procedure Calls RPCs made over Web-based protocols are essentially no different from those made over other protocols such as IIOP DCOM or JRMP. The calls are usually synchronous in other words the client waits for the method to return before continuing . Zero or more parameters of varying types are passed into the call to provide information to process and zero or more return values are generated

crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.