Are there examples for using the ERRest framework? - webobjects

I am trying to create a REST API using Project Wonder's ERRest.framework for WebObjects. Can anybody show me a REST API example using the ERRest framework?
thanks
Raghu

There's a tutorial introduction over at the Project Wonder wiki.

Related

OpenAPIv2(Swagger2) + GraphQL

We have built a REST service which is documented using OpenAPIv2 specification. We do code generation using swagger-codegen and build service on JAX-RS.
We are looking to add GraphQL to our existing REST service. Looking for best possible way to integrate GraphQL into existing OpenAPI(Swagger)v2 spec. Any help or directions is greatly appreciated. Thanks
This tools should be able to generate GraphQL from your spec:
https://github.com/strongloop/oasgraph
or at least provide a good starting point.

Auto generate REST api documentation into RAML from Spring MVC controllers

I am new to Spring-Boot. I want to auto generate my REST api documentation into RAML from my Spring MVC controllers. Is there anything to do that? or any guide that I could use it for generating my rest api into RAML?
There is a Spring REST Docs to RAML extension for Spring REST Docs: https://github.com/ePages-de/restdocs-raml However, this project is not maintained anymore and the authors recommend to use their new project https://github.com/ePages-de/restdocs-openapi that converts to OpenAPI (Swagger) instead of RAML. They provide a guide on how to convert OpenAPI to RAML: https://github.com/ePages-de/restdocs-openapi#convert-to-raml There is an example project that demonstrates the conversion to OpenAPI and RAML https://github.com/ePages-de/restdocs-openapi/tree/master/samples/restdocs-openapi-sample One limitation of the extension is that it only works with Gradle at the moment.
I know, your Question is outdated, but there is something that might help.
You can use DocDog. From there it creates RAML from the existing source code. If it is SpringBoot you can run it easily with -lang=spring. If it is plain JAVA you can add comments to your code (see readme.md or examples), so DogDoc can understand.
May it helps you: https://github.com/skalski/docdog

is there any java 2 RAML parser available

i am trying to solve the following problem:
lets say i have some java interfaces that i need transfer to Restful API Modeling Language.
is there any library that can help me to do that?
Maybe one of these can help you:
RAML for JAX-RS
Spring MVC-RAML Synchronizer

How to write a hello world in spring scala

I started to learn scala and now I need to write a simple Hello world application on spring mvc framework. I tried to find a good reference on internet but I couldn't. Can somebody please help me. (I use fedora 17 and sbt as building tool)
If you are learning both spring and scala, I think you should start with this: http://spring.io/blog/2013/08/06/spring-boot-simplifying-spring-for-everyone and try to develop it in Scala
this is a very good start for developing Spring apps ( even spring mvc apps ), I think with this you can combine spring and scala easily.
If you are serious about Scala and Web then you can try the mentioned Play!, Lift, Scaladin ( https://github.com/henrikerola/scaladin ) Scalatra frameworks.
If you want to use some nice Scala features in your Spring apps then maybe check this : http://spring.io/blog/2012/12/10/introducing-spring-scala
I search google for you,hope it helps you
http://docs.spring.io/spring/docs/2.0.8/reference/mvc.html
Check out the following:
http://pivotallabs.com/spring-4-mvc-scala/
I think its is exactly what you are looking for.

example project for Spring and Hibernate

I am new to Spring and Hibernate. I have learned and tried the basic examples from sites like www.mkyong.com ,krams915.blogspot.com .
Now i want to try building some applications using Spring,hibernate. I am looking for some project examples which i can refer.
I searched google for this , but couldn't find one
Can anyone please suggest?
Thanks in Advance.
Try to search GitHub, BitBucket or SourceForge. There is also a "semi-official" sample app PetClinic developed by SpringSource.

Resources