Developing JAX-RS web applications
Subtópicos
![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Getting started with IBM JAX-RS
JAX-RS is a collection of interfaces and Java™ annotations that simplifies development of server-side REST applications. By using JAX-RS technology, Representational State Transfer (REST) applications are easier to develop and easier to consume when compared to other types of distributed systems.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Configurando um Ambiente de Desenvolvimento para Aplicativos JAX-RS
O servidor de aplicativos fornece ferramentas de linha de comandos para desenvolver clientes de serviços da Web e implementações que se baseiam na especificação Java API for RESTful Web Services (JAX-RS). Você deve configurar o seu ambiente de desenvolvimento antes de começar a desenvolver serviços da Web.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Ferramentas de Desenvolvimento e do Conjunto
É possível usar um Ambiente de Desenvolvimento Integrado para desenvolver, montar e implementar os módulos do Java Platform, Enterprise Edition (Java EE) para WebSphere® Application Server.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Convenções de Diretório
As referências em informações do produto para app_server_root, profile_root, e outros diretórios indicam locais do diretório padrão específico. Familiarize-se com as convenções em uso para o WebSphere Application Server.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Configurando Aplicativos da Web JAX-RS
![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Implementando Clientes que Usam o Cliente Apache Wink REST
É possível usar o cliente Apache Wink REST para enviar pedidos e processar respostas a partir de serviços RESTful. É possível usar a API do cliente em programas Java para se comunicar com serviços da Web.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Implementando um cliente usando o cliente JAX-RS 1.1 de serviços da web RESTful não gerenciados
WebSphere Application Server fornece um tempo de execução de cliente de serviços da web thin Java Platform, Standard Edition 6 (Java SE 6) RESTful para permitir que os desenvolvedores de aplicativos criem de maneira rápida e fácil aplicativos clientes JAX-RS. O Thin Client for JAX-RS com WebSphere Application Server é um ambiente do cliente Java SE 6 independente que permite a execução de aplicativos clientes de serviços da web JAX-RS RESTful não gerenciados em um ambiente não WebSphere para chamar serviços da web JAX-RS RESTful que são hospedados pelo servidor de aplicativos.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Migrating a Feature Pack for Web 2.0 JAX-RS application to WebSphere Version 8
When packaging an application for the Feature Pack for Web 2.0, you must manually make the Java API for RESTful Web Services (JAX-RS) run time available on the application CLASSPATH. A common way of doing this is placing the JAX-RS runtime Java archive (JAR) files in the WEB-INF/lib directory of the web archive (WAR) module. In Version 8, the JAX-RS runtime environment is native to the application server. It is no longer necessary to manually add the path of the runtime libraries on the CLASSPATH. Migrating Web 2.0 applications to the native runtime environment simplifies packaging and deployment, and allows for future updates to take advantage of Java Platform, Enterprise Edition (Java EE) integration features.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Disabling the JAX-RS runtime environment
There are cases where you must disable the Java API for RESTful Web Services (JAX-RS) runtime environment. When disabling the JAX-RS runtime environment, JAX-RS features are not available, including base JAX-RS runtime capabilities, Enterprise JavaBeans (EJB) runtime integration, Java Contexts and Dependency Injection (JCDI) runtime integration, and Servlet 3.0 web container integration.
Tópico de Tarefa
Última atualização: July 9, 2016 5:20http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-base-dist&topic=container_wbs_jaxrs_goal_developing
Nome do arquivo: container_wbs_jaxrs_goal_developing.html