background preloader

Jersey

Jersey

List of software that supports Office Open XML This is an overview of software support for the Office Open XML format, a Microsoft document file format for saving and exchanging editable office documents. The list here is not exhaustive. §ECMA-376 1st edition implementations[edit] The ECMA-376 1st edition Office Open XML standard is supported by a number of applications from various vendors; listed alphabetically they include: §Text documents (.docx)[edit] §Word processors[edit] §Viewers, filters and converters[edit] Apple Inc.' §Translation support[edit] OmegaT – OmegaT is a free translation memory application written in Java.[45]Swordfish Translation Editor, a cross-platform CAT tool based on XLIFF 1.2 open standard published by OASIS that provides support for translation of Office Open XML files.[46] §Bibliographic[edit] RefWorks – Web-based commercial citation manager, supports uploading DOCX files for citation formatting.[47] §Programmatic support[edit] §Other products[edit]

Capitolo 25. Remoting Seam fornisce un metodo per accedere in modo remoto i componenti da una pagina web, usando AJAX (Asynchronous Javascript and XML). Il framework per questa funzionalità viene fornito con quasi nessuno sforzo di sviluppo - i componenti richiedono solamente una semplice annotazione per diventare accessibile via AJAX. Questo capitolo descrive i passi richiesti per costruire una pagina web abilitata a AJAX, poi spiega con maggior dettaglio le caratteristiche del framework Seam Remoting. L'interazione lato client con i componenti viene eseguita tutta tramite l'oggetto Javascript Seam. Quest'oggetti è definito in remote.js, e lo si userà per fare chiamate asincrone verso il componente. E' suddiviso in due aree di funzionalità; Seam.Component contiene metodi per lavorare con i componenti e Seam.Remoting contiene metodi per eseguire le richieste remote. Si cominci con un semplice esempio per vedere come funziona l'oggetto Seam Quello è tutto il codice da scrivere. Abbiamo finito!

(Sun PKCS#11 Provider) Java Applet for Signing with a Smart Card Using the Sun PKCS#11 Provider Without a Configuration File If you do not want to use an external configuration file, you can set the settings of the Sun PKCS#11 Provider dynamically by a stream. This can be done in the following way: String pkcs11config = "name = SmartCardn" + "library = c:\windows\system32\pkcs201n.dll"; byte[] pkcs11configBytes = pkcs11config.getBytes(); ByteArrayInputStream configStream = newByteArrayInputStream(pkcs11configBytes); Provider pkcs11Provider = new sun.security.pkcs11.SunPKCS11(configStream); security.addProvider(pkcs11Provider); In this example, you create a stream that reads the configuration settings, not from a text file but from a string. Unregistering the Sun PKCS#11 Provider When you no longer need the PKCS#11 security provider, you should unregister it to deallocate the resources used. Provider pkcs11Provider = ...; String pkcs11ProviderName = pkcs11Provider.getName(); Security.removeProvider(pkcs11ProviderName); java.security.KeyStore Page 2 of 8

Preface Links: Table of Contents | Single HTML This is user guide for Jersey 2.8-SNAPSHOT. We are trying to keep it up to date as we add new features. If you would like to contribute to the guide or have questions on things not covered in our docs, please contact us atusers@jersey.java.net. Text formatting conventions First mention of any Jersey and JAX-RS API component in a section links to the API documentation of the referenced component. Emphasised font is used to a call attention to a newly introduce concept, when it first occurs in the text. In some of the code listings, certain lines are too long to be displayed on one line for the available page width. This is an overly long line that \ might not fit the available page \ width and had to be broken into \ multiple lines. Should read as: This is an overly long line that might not fit the available page width and had to be broken into multiple lines.

Creating a RESTful Root Resource Class - The Java EE 6 Tutorial Root resource classes are POJOs that are either annotated with @Path or have at least one method annotated with @Path or a request method designator, such as @GET, @PUT, @POST, or @DELETE. Resource methods are methods of a resource class annotated with a request method designator. This section explains how to use JAX-RS to annotate Java classes to create RESTful web services. Developing RESTful Web Services with JAX-RS JAX-RS is a Java programming language API designed to make it easy to develop applications that use the REST architecture. The JAX-RS API uses Java programming language annotations to simplify the development of RESTful web services. Table 20-1 lists some of the Java programming annotations that are defined by JAX-RS, with a brief description of how each is used. Table 20-1 Summary of JAX-RS Annotations Overview of a JAX-RS Application The following code sample is a very simple example of a root resource class that uses JAX-RS annotations: @Path("/users/{username}")

Django REST framework request.py If you're doing REST-based web service stuff ... you should ignore request.POST.— Malcom Tredinnick, Django developers group REST framework's Request class extends the standard HttpRequest, adding support for REST framework's flexible request parsing and request authentication. REST framework's Request objects provide flexible request parsing that allows you to treat requests with JSON data or other media types in the same way that you would normally deal with form data. request.DATA returns the parsed content of the request body. It supports parsing the content of HTTP methods other than POST, meaning that you can access the content of PUT and PATCH requests.It supports REST framework's flexible request parsing, rather than just supporting form data. For more details see the parsers documentation. request.FILES returns any uploaded files that may be present in the content of the request body. request.QUERY_PARAMS is a more correctly named synonym for request.GET. .parsers .user

Currently using this on current project at VISA. No complaints. Not sure how it performs under load. Has good unit test support. by superunknown Apr 10

Related: