Webobjects Web Services Programming Guide (Legacy)

Total Page:16

File Type:pdf, Size:1020Kb

Webobjects Web Services Programming Guide (Legacy) WebObjects Web Services Programming Guide (Legacy) 2007-07-11 MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. AS A RESULT, THIS DOCUMENT IS Apple Inc. PROVIDED “AS IS,” AND YOU, THE READER, ARE © 2002, 2007 Apple Inc. ASSUMING THE ENTIRE RISK AS TO ITS QUALITY AND ACCURACY. All rights reserved. IN NO EVENT WILL APPLE BE LIABLE FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR No part of this publication may be reproduced, CONSEQUENTIAL DAMAGES RESULTING FROM ANY stored in a retrieval system, or transmitted, in DEFECT OR INACCURACY IN THIS DOCUMENT, even if advised of the possibility of such damages. any form or by any means, mechanical, THE WARRANTY AND REMEDIES SET FORTH ABOVE electronic, photocopying, recording, or ARE EXCLUSIVE AND IN LIEU OF ALL OTHERS, ORAL otherwise, without prior written permission of OR WRITTEN, EXPRESS OR IMPLIED. No Apple dealer, agent, or employee is authorized to make Apple Inc., with the following exceptions: Any any modification, extension, or addition to this person is hereby authorized to store warranty. documentation on a single computer for Some states do not allow the exclusion or limitation personal use only and to print copies of of implied warranties or liability for incidental or consequential damages, so the above limitation or documentation for personal use provided that exclusion may not apply to you. This warranty gives the documentation contains Apple’s copyright you specific legal rights, and you may also have notice. other rights which vary from state to state. The Apple logo is a trademark of Apple Inc. Use of the “keyboard” Apple logo (Option-Shift-K) for commercial purposes without the prior written consent of Apple may constitute trademark infringement and unfair competition in violation of federal and state laws. No licenses, express or implied, are granted with respect to any of the technology described in this document. Apple retains all intellectual property rights associated with the technology described in this document. This document is intended to assist application developers to develop applications only for Apple-labeled computers. Every effort has been made to ensure that the information in this document is accurate. Apple is not responsible for typographical errors. Apple Inc. 1 Infinite Loop Cupertino, CA 95014 408-996-1010 Apple, the Apple logo, Finder, Mac, Mac OS, WebObjects, and Xcode are trademarks of Apple Inc., registered in the United States and other countries. Java is a registered trademark of Oracle and/or its affiliates. Times is a registered trademark of Heidelberger Druckmaschinen AG, available from Linotype Library GmbH. Simultaneously published in the United States and Canada. Even though Apple has reviewed this document, APPLE MAKES NO WARRANTY OR REPRESENTATION, EITHER EXPRESS OR IMPLIED, WITH RESPECT TO THIS DOCUMENT, ITS QUALITY, ACCURACY, Contents Introduction Introduction to WebObjects Web Services Programming Guide 7 Organization of This Document 7 See Also 7 Chapter 1 Web Services Overview 9 What Are Web Services? 9 Web Service Discovery 10 Web Services and SOAP 10 Ingredients of a SOAP Message 11 Web Service Description 14 SOAP Engine 15 The Axis SOAP Engine 16 Serialization and Deserialization of Objects 18 Chapter 2 Security in Web Services 21 Web Services Security 22 Digital Signatures 22 Encryption 24 Canonical XML Documents 24 Chapter 3 Developing Web Service Applications 27 Providing a Web Service 27 Consuming a Web Service 28 Using Sessions in Web Services 30 Accessing the WOContext Object 35 Adding Security to Web Services 35 Web Service Deployment Descriptors 36 Adding Web Service Support to Existing Projects 38 Chapter 4 Developing Direct to Web Services Applications 39 The Data Model 39 Creating a Direct to Web Services Application Project 41 Web Services Assistant 42 Adding a Web Service 43 Adding an Operation 44 Testing an Operation 46 Using WODefaultWebService Operations 47 3 Legacy Document | 2007-07-11 | © 2002, 2007 Apple Inc. All Rights Reserved. CONTENTS Observing SOAP Messages Using TCPMonitor 51 Freezing Operations 52 Unfreezing Operations 57 Component-Based Operations 58 Operations Derived From Fetch Specifications 59 Using Transactions 59 Using Global IDs 59 Default Return Values of Operations 61 Creating a Custom Rule File 62 Rule Editor Keys 62 Document Revision History 65 Glossary 67 4 Legacy Document | 2007-07-11 | © 2002, 2007 Apple Inc. All Rights Reserved. Figures, Tables, and Listings Chapter 1 Web Services Overview 9 Figure 1-1 Structure of a SOAP message 12 Figure 1-2 Organization of a WSDL document 15 Figure 1-3 The SOAP Message processing cycle 16 Figure 1-4 Web service processing—provider view 17 Figure 1-5 Web service processing—consumer view 18 Table 1-1 The elements of a SOAP message 13 Table 1-2 Attributes defined in the SOAP specification 14 Table 1-3 Serializers and deserializers provided in WebObjects 18 Listing 1-1 Example of an RPC SOAP message 12 Listing 1-2 Example of a document-style SOAP message 12 Chapter 2 Security in Web Services 21 Figure 2-1 Structure of a digital signature element 23 Table 2-1 Features provided by the major security approaches 21 Listing 2-1 Example SOAP message using a digital signature 23 Listing 2-2 Person elements 24 Chapter 3 Developing Web Service Applications 27 Figure 3-1 A possible user interface to the Calculator Web service 30 Listing 3-1 Calculator.java class in Calculator project 27 Listing 3-2 CalculatorClient.java class in Calculator_Client project 28 Listing 3-3 Session_Client project—Application.java file 31 Listing 3-4 Session_Client project—SessionClient.java file 31 Listing 3-5 Session project—LogIn.java file 34 Listing 3-6 Session project—AccessData.java file 34 Listing 3-7 Accessing the WOContext object from a Web service class 35 Listing 3-8 The server.wsdd file of a Web service provider project 36 Listing 3-9 The client.wsdd file of a Web service consumer project 37 Chapter 4 Developing Direct to Web Services Applications 39 Figure 4-1 Listing entity defined in the RealEstate data model 40 Figure 4-2 ListingAddress entity defined in the RealEstate data model 41 Figure 4-3 Connect dialog of Web Services Assistant 42 Figure 4-4 The Web Services Assistant main window 43 Figure 4-5 The New Operation dialog 45 Figure 4-6 The findHouseByAskingPrice operation of the HouseSearch Web service 45 5 Legacy Document | 2007-07-11 | © 2002, 2007 Apple Inc. All Rights Reserved. FIGURES, TABLES, AND LISTINGS Figure 4-7 The test window of the findHouseByAskingPrice operation 47 Figure 4-8 TCPMonitor window 52 Figure 4-9 The FindHouseByCity component—the frozen version of the findHouseByCity operation 54 Figure 4-10 Relationship between Author entity and Book entity 60 Figure 4-11 Definition of the addBook operation 61 Table 4-1 Default return values of operations 61 Table 4-2 Direct to Web Services rule keys 62 Listing 4-1 Properties file of the HousesForSale project 42 Listing 4-2 The WSDL document of the frozen findHouseByCity operation—the HTML file of the FindHouseByCity component 54 Listing 4-3 addBookForAuthor method 60 Listing 4-4 addAuthor and addBooks methods 60 6 Legacy Document | 2007-07-11 | © 2002, 2007 Apple Inc. All Rights Reserved. INTRODUCTION Introduction to WebObjects Web Services Programming Guide Important: The following tools are deprecated and no longer supported in WebObjects 5.4 and later: EOModeler, RuleEditor, WebObjects Builder, WOALauncher, and Java Client. WebObjects templates are not available for creating new projects in Xcode on Mac OS X v10.5 and later. Important: The information in this document is obsolete and should not be used for new development. Links to downloads and other resources may no longer be valid. Note: This document was previously titled Web Services . Web services SOAP Organization of This Document This document has the following chapters: ■ “Web Services Overview” (page 9) ■ “Security in Web Services” (page 21) ■ “Developing Web Service Applications” (page 27) ■ “Developing Direct to Web Services Applications” (page 39) ■ “Document Revision History” (page 65) See Also The following list itemizes resources you can use to increase your Web services knowledge. ■ The AmazonClient project in /Developer/Examples/JavaWebObjects/AmazonClient is an implementation of a client for Amazon.com Web services. ■ Building Web Services with Java: Making Sense of XML, SOAP, WSDL, and UDDI (Sams) gives great detail on the elements of Web-service development and deployment. ■ Architecting Web Services (Apress) provides a high-level view of Web-service development. Organization of This Document 7 Legacy Document | 2007-07-11 | © 2002, 2007 Apple Inc. All Rights Reserved. INTRODUCTION Introduction to WebObjects Web Services Programming Guide ■ Java & XML (O'Reilly) introduces you to XML and processing XML documents using SAX (Simple API for XML). ■ Web Services Routing Protocol (WS-Routing) (http://msdn.microsoft.com/library/en-us/dnglobspec/html/ws- routing.asp ). ■ Simple Object Access Protocol (SOAP) 1.1 (http://www.w3.org/TR ). ■ Axis (http://xml.apache.org/axis ) is the SOAP implementation used in WebObjects. ■ Web Services Security Core Specification at http://www.oasis-open.org/committees/wss . ■ Canonical XML Version 1.0 (http://www.w3.org/TR ). ■ Exclusive XML Canonicalization Version 1.0 (http://www.w3.org/TR ). ■ Web Services Description Language (1.1) (http://www.w3.org/TR/wsdl ). In this document, SOAP (Simple Object Access Protocol) refers to SOAP version 1.1 of the specification. 8 See Also Legacy Document | 2007-07-11 | © 2002, 2007 Apple Inc. All Rights Reserved. CHAPTER 1 Web Services Overview You can think of Web services as distributed applications. Instead of creating an instance of a class and invoking its methods, a Web service consumer locates a Web service and invokes the operations it provides. The Web service provider (the application implementing the Web service) can be on the same Java virtual machine as the one using it, or it can be thousands of miles away.
Recommended publications
  • Asynchronous Web Requests As Service
    Asynchronous Web Requests As Service Manual and dodecahedral Royal ratified almost half-yearly, though Maxim licensing his refutation Wainwrightredates. Wallache paralysing stared closely leadenly? and tyrannises Godfree often her Pete. stages inoffensively when psycholinguistic Many kinds of business processes have these features. Professional Services Engineer at elastic. About Attaching Policies to Callback Clients. The new mapper, as a site is asynchronous web requests service as mechanisms for? Web Service improve response? When using the synchronous execution mode, the application must wait for the request to confess and clamp the results. Sets DOMReady to luggage and assigns a ready function to settings. An error occurred and moment were unable to loathe your request. There mat be gaps or spaces in between characters. Gaps between programs and add too many more asynchronous result will all asynchronous web service is this example? Scripting on pay page enhances content navigation, but does task change their content that any way. Specify whether the asynchronous as instances in? How google webmaster central time, magento creates an interface at what can add support asynchronous communications at ultra low by travel, service requests as asynchronous web url is an order. To monitor the SOAP messages, insert the software listener between heat flow by the service. Understanding the address the trading application as asynchronous web requests service port types of performance, the operation of hazardous material is a really exist? Younger students have clarity on your free to code execution first, the asynchronous web requests as service? To do surprise you gave use an asynchronous generator that yields bytes.
    [Show full text]
  • Web Services: Usage and Challenges in Mobile Phones (Computers) W3C
    Web Services: Usage and challenges in mobile phones (computers) W3C Seminar - Monday 6 March 2006 - Paris, France Timo Skyttä Director, Web Services Nokia Technology Platforms 1 © 2005 Nokia Topics • Web Services & presentation scope defined • Web Services - business ? ¡Si, habla Web Services! • Challenges in general, and some mobile specific.... • Nokia Web Services • Application Examples 2 © 2005 Nokia The Web and Web Services Web Services connect The Web connects computer applications people to information to each other on a global scale on a global scale (GARTNER, Oct 2005) 3 © 2005 Nokia Two models of mobilising service access Presentation Browser Application Presentation and Service Logic Service Logic HTTP server Scope of this Web Services interfaces presentation Enterprise Service Oriented Application Architecture (SOA) Integration (EAI) 4 © 2005 Nokia Web Services - business ? 5 © 2005 Nokia Why Web Services The deployment of Web Services technology aims to enhance existing services and to create new and innovative services. • Web Services are being widely deployed; Service/Consumer• to facilitate interoperability across runtime different hardware independence and software ! implementations, machine architectures and application programming interfaces (APIs). • to offer near-term benefits by enabling quicker and cheaper integration of existing Interoperabilityservices. ! • to define an environment where applications can be created by combining multiple services in a single workflow (a.k.a. mashups). This will make it easy to adjust Automaticapplication functionality, code because generation services can be added (WSDL or removed + from tools) the ! application workflow. • In addition, interoperability will allow application designers to replace one service implementation with another for technical or business reasons. This vision of Service-Oriented Architectures (SOAs) is rapidly becoming a reality through the standardization and deployment of Web Services technology.
    [Show full text]
  • Attacking AJAX Web Applications Vulns 2.0 for Web 2.0
    Attacking AJAX Web Applications Vulns 2.0 for Web 2.0 Alex Stamos Zane Lackey [email protected] [email protected] Blackhat Japan October 5, 2006 Information Security Partners, LLC iSECPartners.com Information Security Partners, LLC www.isecpartners.com Agenda • Introduction – Who are we? – Why care about AJAX? • How does AJAX change Web Attacks? • AJAX Background and Technologies • Attacks Against AJAX – Discovery and Method Manipulation – XSS – Cross-Site Request Forgery • Security of Popular Frameworks – Microsoft ATLAS – Google GWT –Java DWR • Q&A 2 Information Security Partners, LLC www.isecpartners.com Introduction • Who are we? – Consultants for iSEC Partners – Application security consultants and researchers – Based in San Francisco • Why listen to this talk? – New technologies are making web app security much more complicated • This is obvious to anybody who reads the paper – MySpace – Yahoo – Worming of XSS – Our Goals for what you should walk away with: • Basic understanding of AJAX and different AJAX technologies • Knowledge of how AJAX changes web attacks • In-depth knowledge on XSS and XSRF in AJAX • An opinion on whether you can trust your AJAX framework to “take care of security” 3 Information Security Partners, LLC www.isecpartners.com Shameless Plug Slide • Special Thanks to: – Scott Stender, Jesse Burns, and Brad Hill of iSEC Partners – Amit Klein and Jeremiah Grossman for doing great work in this area – Rich Cannings at Google • Books by iSECer Himanshu Dwivedi – Securing Storage – Hackers’ Challenge 3 • We are
    [Show full text]
  • Digital Resources Approved for Use in Academy District 20 As Of
    Digital Resources Approved for use in Academy District 20 as of August 20, 2021 Title URL of Resource SPII collected Link to Privacy Policy Link to Terms of Service 10 Frame Fill https://itunes.apple.c This software does http://www.classroo om/us/app/10-frame- not collect Student mfocusedsoftware.co fill/id418083871?mt= Data m/cfsprivacypolicy.ht 8 ml 123 NUMBER MAGIC https://itunes.apple.c This software does http://preschoolu.co http://preschoolu.co Line Matching om/us/app/123- not collect Student m/Privacy- m/Privacy- number-magic-line- Data Policy.html#.Wud5Ro Policy.html#.Wud5Ro matching/id46853409 gvyUk gvyUk 4?mt=8 123TeachMe https://www.123teac This software does https://www.123teac https://www.123teac hme.com/ not collect Student hme.com/learn_spani hme.com/learn_spani Data sh/privacy_policy sh/privacy_policy 12Bart http://www.bartontile First Name;#Last http://www.bartontile http://www.bartontile s.com/ Name s.com/Barton-Tiles- s.com/Barton-Tiles- App-Privacy-Policy.pdf App-Privacy-Policy.pdf 2080 Media https://www.nfhsnet This software does https://www.nfhsnet https://www.nfhsnet Inc/PlayOn Sports work.com/ not collect Student work.com/privacypoli work.com/termsofuse Data cy 270 to Win https://itunes.apple.c This software does https://www.270towi https://www.270towi om/us/app/270towin/ not collect Student n.com/privacy/ n.com/privacy/ id483161617?mt=8 Data 3 DS Max https://www.autodes First Name;#Last https://www.autodes Terms of Use k.com/products/3ds- Name;#Students don't k.com/products/3ds- max/overview need to make an max/overview account to use this.
    [Show full text]
  • Chapter 10 Document Object Model and Dynamic HTML
    Chapter 10 Document Object Model and Dynamic HTML The term Dynamic HTML, often abbreviated as DHTML, refers to the technique of making Web pages dynamic by client-side scripting to manipulate the document content and presen- tation. Web pages can be made more lively, dynamic, or interactive by DHTML techniques. With DHTML you can prescribe actions triggered by browser events to make the page more lively and responsive. Such actions may alter the content and appearance of any parts of the page. The changes are fast and e±cient because they are made by the browser without having to network with any servers. Typically the client-side scripting is written in Javascript which is being standardized. Chapter 9 already introduced Javascript and basic techniques for making Web pages dynamic. Contrary to what the name may suggest, DHTML is not a markup language or a software tool. It is a technique to make dynamic Web pages via client-side programming. In the past, DHTML relies on browser/vendor speci¯c features to work. Making such pages work for all browsers requires much e®ort, testing, and unnecessarily long programs. Standardization e®orts at W3C and elsewhere are making it possible to write standard- based DHTML that work for all compliant browsers. Standard-based DHTML involves three aspects: 447 448 CHAPTER 10. DOCUMENT OBJECT MODEL AND DYNAMIC HTML Figure 10.1: DOM Compliant Browser Browser Javascript DOM API XHTML Document 1. Javascript|for cross-browser scripting (Chapter 9) 2. Cascading Style Sheets (CSS)|for style and presentation control (Chapter 6) 3. Document Object Model (DOM)|for a uniform programming interface to access and manipulate the Web page as a document When these three aspects are combined, you get the ability to program changes in Web pages in reaction to user or browser generated events, and therefore to make HTML pages more dynamic.
    [Show full text]
  • The Development of Algorithms for On-Demand Map Editing for Internet and Mobile Users with Gml and Svg
    THE DEVELOPMENT OF ALGORITHMS FOR ON-DEMAND MAP EDITING FOR INTERNET AND MOBILE USERS WITH GML AND SVG Miss. Ida K.L CHEUNG a, , Mr. Geoffrey Y.K. SHEA b a Department of Land Surveying & Geo-Informatics, The Hong Kong Polytechnic University, Hung Hom, Kowloon, Hong Kong, email: [email protected] b Department of Land Surveying & Geo-Informatics, The Hong Kong Polytechnic University, Hung Hom, Kowloon, Hong Kong, email: [email protected] Commission VI, PS WG IV/2 KEY WORDS: Spatial Information Sciences, GIS, Research, Internet, Interoperability ABSTRACT: The widespread availability of the World Wide Web has led to a rapid increase in the amount of data accessing, sharing and disseminating that gives the opportunities for delivering maps over the Internet as well as small mobile devices. In GIS industry, many vendors or companies have produced their own web map products which have their own version, data model and proprietary data formats without standardization. Such problem has long been an issue. Therefore, Geographic Markup Language (GML) was designed to provide solutions. GML is an XML grammar written in XML Schema for the modelling, transport, and storage of geographic information including both spatial and non-spatial properties of geographic features. GML is developed by Open GIS Consortium in order to promote spatial data interoperability and open standard. Since GML is still a newly developed standard, this promising research field provides a standardized method to integrate web-based mapping information in terms of data modelling, spatial data representation mechanism and graphic presentation. As GML is not for data display, SVG is an ideal vector graphic for displaying geographic data.
    [Show full text]
  • Appendix a the Ten Commandments for Websites
    Appendix A The Ten Commandments for Websites Welcome to the appendixes! At this stage in your learning, you should have all the basic skills you require to build a high-quality website with insightful consideration given to aspects such as accessibility, search engine optimization, usability, and all the other concepts that web designers and developers think about on a daily basis. Hopefully with all the different elements covered in this book, you now have a solid understanding as to what goes into building a website (much more than code!). The main thing you should take from this book is that you don’t need to be an expert at everything but ensuring that you take the time to notice what’s out there and deciding what will best help your site are among the most important elements of the process. As you leave this book and go on to updating your website over time and perhaps learning new skills, always remember to be brave, take risks (through trial and error), and never feel that things are getting too hard. If you choose to learn skills that were only briefly mentioned in this book, like scripting, or to get involved in using content management systems and web software, go at a pace that you feel comfortable with. With that in mind, let’s go over the 10 most important messages I would personally recommend. After that, I’ll give you some useful resources like important websites for people learning to create for the Internet and handy software. Advice is something many professional designers and developers give out in spades after learning some harsh lessons from what their own bitter experiences.
    [Show full text]
  • UPS Web Services Code Samples
    UPS Web Services Sample Code Documentation Version: 2.00 NOTICE The use, disclosure, reproduction, modification, transfer, or transmittal of this work for any purpose in any form or by any means without the written permission of United Parcel Service is strictly prohibited. © 2010 United Parcel Service of America, Inc. All Rights Reserved. Table of Contents 1. Introduction ................................................................................................................. 3 2. Axis 2-1.4 Sample Code Naming Convention ............................................................ 3 3. JAX- WS 2.1 Sample Code Naming Convention........................................................ 3 4. Net Sample Code Naming Convention ..................................................................... 4 5. Axis 2-1.4 UPS Web Service Sample Code using ANT build.................................... 4 6. Axis 2-1.4 UPS Web Service Sample Code using Eclipse.......................................... 6 7. JAX- WS 2.1 UPS Web Service Sample Code using ANT build ............................. 11 8. Binding for Ship & Freight Ship Web Service JAX- WS 2.1 Web Service Sample Code .................................................................................................................................. 13 9. Void Web Service JAX-WS Sample Code................................................................ 14 10. Net(C#) UPS Web Service Sample Code with Microsoft Visual Studio ............ 14 11. Build UPS WebService Sample Code in Perl ..........................................................
    [Show full text]
  • Resource Management ↔ Application Logic ↔ Presentation
    Web Services Introduction to Service-Oriented Computing Layers: Resource management ↔ application logic ↔ presentation (↔ client) Distributed Systems: Laufen zeitgleich auf mehreren computern und kommunizieren über Netzwerk Austausch erfolgt über jeweiligen application logic layer. Oft schwierig wegen Verwendung unterschiedlicher Betriebssysteme, Progammiersprachen, etc. Lösung: Service-Oriented Computing, d.h. Kommunikation über eigens eingerichteten Service. Vergleichbar mit facade software pattern. Wichtige Begriffe (Web) Services: Eigenständige Module, welche auf XML-Basis über ein Netzwerk aufgefunden, beschrieben, programmiert, orchestriert und veröffentlicht werden können. Service providers: Organisationen, welche Implementierungen, Beschreibungen und Support für einen Service anbieten. Service clients: Nutzer und Organisationen, welche Services Nutzen. Service aggregators: Organisationen, welche mehrere Services zu einem neuen vereinen. Service-oriented architecture (SOA): Art, software so zu designen, dass Services, über veröffentlichte und auffindbare interfaces, angeboten werden. Characteristika von Web Services (WS) Erfüllung einer einzigen Aufgabe als abgeschlossenes Modul (zB Input PLZ, Output Wetter) Teilen eines formalen Vertrags, welcher Informationsaustausch klar regelt Abstrahierung der darunterliegenden Programmlogik, diese bleibt verborgen Schwache Koppelung: Service interface unabhängig von Programmiersprache, Plattform etc.. Kann leicht ausgetauscht werden. Wiederverwendbarkeit durch andere Applikationen Dynamische
    [Show full text]
  • Go Web App Example
    Go Web App Example Titaniferous and nonacademic Marcio smoodges his thetas attuned directs decreasingly. Fustiest Lennie seethe, his Pan-Americanism ballasts flitted gramophonically. Flavourless Elwyn dematerializing her reprobates so forbiddingly that Fonsie witness very sartorially. Ide support for web applications possible through gvm is go app and psych and unlock new subcommand go library in one configuration with embedded interface, take in a similar Basic Role-Based HTTP Authorization in fare with Casbin. Tools and web framework for everything there is big goals. Fully managed environment is go app, i is a serverless: verifying user when i personally use the example, decentralized file called marshalling which are both of. Simple Web Application with light Medium. Go apps into go library for example of examples. Go-bootstrap Generates a gait and allowance Go web project. In go apps have a value of. As of December 1st 2019 Buffalo with all related packages require Go Modules and. Authentication in Golang In building web and mobile. Go web examples or go is made against threats to run the example applying the data from the set the search. Why should be restarted for go app. Worth the go because you know that endpoint is welcome page then we created in addition to get started right of. To go apps and examples with fmt library to ensure a very different cloud network algorithms and go such as simple. This example will set users to map support the apps should be capable of examples covers both directories from the performance and application a form and array using firestore implementation.
    [Show full text]
  • Bachelor's Degree in Computer Science Performance Comparison Between C and Rust Compiled to Webassembly
    UMEÅ UNIVERSITY June 4, 2021 Department of Computing Science Report 5DV199 Bachelor’s degree in computer science Performance comparison between C and Rust compiled to WebAssembly Magnus Medin (dv18mmn) [email protected] Supervisor Ola Ringdahl Contents 1 Introduction 1 1.1 Background . .1 1.2 Purpose and research questions . .2 1.3 Delimitations . .2 2 Related work 2 3 Theoretical background 4 3.1 Language . .4 3.2 Compilation . .5 4 Method 5 4.1 Code analysis . .6 4.2 Testing . .6 4.3 Data collection . .6 5 Result 7 6 Discussion 9 6.1 Limitations and further research . 10 6.2 Conclusion and recommendations . 11 Abstract Web applications are used more and more and mainly they are developed with the help of Javascript, but when you have heavy demanding processes in a web app, javascript can be too slow. The new language WebAssembly is an alternative that seeks to solve this problem. But unlike Javascript, there are many compilers for many different languages that have WebAssembly as their compilation goal. This means that the choice of language to compile from could make a difference when it comes to execution time. This article takes a closer look at two of the most popular languages, namely C and Rust, to see if language choice makes a difference. The differences between the languages are measured with the help of tests done between a server and a client and also with the help of an analysis of the WebAssembly code. The result shows that Rust is faster than C in matrix multiplication and insertion sort but the addition test shows that the languages are similar in speed.
    [Show full text]
  • Webobjects Technical Overview
    Session 401 WebObjects Technical Overview Steve Hayman Systems Engineer, Apple iServices 1 Apple Confidential 6/28/00 Introduction • Understand the WO architecture • See the tools, frameworks, and development process in action 2 Apple Confidential 6/28/00 What You’ll Learn • WO Tools • WO Frameworks • WO Deployment • Understand the titles of the other WO sessions 406—Rapid Development with Direct to Java Client 3 Apple Confidential 6/28/00 What WebObjects Does • It’s an Application Server • Who invented that term anyway? • It’s more than just that – Developer Tools – Pre-written objects (Frameworks) The best part! – Runtime environment – Monitoring and control tools 4 Apple Confidential 6/28/00 For Instance Java Clients Web Browsers Data Services Web Servers Distributed Objects Data Sources 5 Apple Confidential 6/28/00 Who WebObjects Is For • Developers • Very powerful • Steep learning curve • But that’s OK 6 Apple Confidential 6/28/00 WebObjects Works With… • Java. Objective-C. WebScript • Databases—Oracle, Informix, Sybase, SQL Server, LDAP, OpenBase, FrontBase, … • Mainframes—CORBA, 3270 screen-scraping • Different UIs—HTML, WAP, PDF, XML • Most web servers—Apache, Netscape, IIS • Lots of 3rd-party objects and APIs • Open open open open open open open open 7 Apple Confidential 6/28/00 Where You Can Use WebObjects • Develop on Mac OS X, Mac OS X Server, or Windows NT • Deploy on OS X, OS X Server, NT, Solaris, HP/UX, Linux – (Note: database support varies by platform) • Mix and match as needed • Start small and grow bigger 8 Apple Confidential
    [Show full text]