Follow @ServiceStack or join the Google+ Community for updates, or StackOverflow or the Customer Forums for support.
This repository contains the source for ServiceStack plugins for the leading Android Studio, IntelliJ and Eclipse Java IDE's providing Java developers a highly productive development experience for consuming Typed ServiceStack Services by leveraging Add ServiceStack Reference directly within their IDE!
Switched to use /api
pre-defined route by default, revert to legacy /json/reply
pre-defined route with:
const client = new JsonServiceClient(baseUrl);
client.setBasePath();
- Install ServiceStack IDEA from the Plugin repository
- Download and Install ServiceStack IDEA Manually
Please submit issues to https://github.com/ServiceStack/Issues
For information on the different code-generation configuration options available and examples of using the JsonServiceClient
refer to the Java ServiceStack Reference Documentation.
For information on using the generic Java JSON Service Client Typed API's see the JsonServiceClient Documentation or jump to the interested sections directly:
- JsonServiceClient Usage
- Custom Urls Example Usage
- AutoQuery Example Usage
- Android Service Client
- Typed Error Handling
- JsonServiceClient Error Handlers
Contains information on how Java Add ServiceStack Reference ensures a high-fidelity, idiomatic translation within the constraints of Java language and its built-in libraries, where .NET Server DTO's are translated into clean, conventional Java POJO's where .NET built-in Value Types mapped to their equivalent Java data Type. Use the links below to jump directly to the sections you're interested in:
- .NET Attributes translated into Java Annotations
- Terse, typed API's with IReturn interfaces
- Getters and Setters generated for each property
- Java Type Conversions
- Java Enums
- Java Configuration
Example TechStacks Android App
To demonstrate Java Native Types in action we've ported the Swift TechStacks iOS App to a native Java Android App to showcase the responsiveness and easy-of-use of leveraging Java Add ServiceStack Reference in Android Projects.
Checkout the TechStacks Android App repository for a nice overview of how it leverages Java Native Types, Functional Java Utils and iOS-inspired Data Binding to easily develop services-heavy Mobile Apps.