Questions tagged [ratpack]

Ratpack a toolkit for creating high performance web applications built on Java and Netty.

Ratpack is a set of Java libraries that facilitate fast, efficient, evolvable and well tested HTTP applications.

It is built on the highly performant and efficient Netty event-driven networking engine. The API is optimized for Groovy and Java 8.

Optional Google Guice integration provides a foundation for scaling your application in size in a managed way.

Optional Gradle build time support makes building and testing applications a breeze.

Ratpack focuses on allowing HTTP applications to be efficient, modular, adaptive to new requirements and technologies, and well-tested over time.

enter image description here

Ratpack Introduction provides a quick comparison with similar products.

Github

88 questions
0
votes
2 answers

kSend JSON to template using handlebars java and ratpac

I am creating a test application that simply creates a JSON representation of an object and sends it to the template, I then want to use the JSON in a a JS script on the front end. I am using Ratpack and Java Handlebars to do this. Here is my…
pocockn
  • 1,965
  • 5
  • 21
  • 36
0
votes
1 answer

How to register Ratpack's ConfigurableModule using application configuration

Current HikariModule contains hard-coded value in Java code, which is not a good practice, much better would be use values defined in db.properties. How to achieve this? Do I need create a custom ConfigurableModule and register…
Peter Jurkovic
  • 2,686
  • 6
  • 36
  • 55
0
votes
0 answers

Ratpack - An exceptionCaught() event was fired

Does anyone have an idea why is being thrown listed exception after invoking /user URL? It quite strange because all works as is expected (upstream service handles a response from downstream and sends to a response to a client). Using Ratpack 1.4.1.…
Peter Jurkovic
  • 2,686
  • 6
  • 36
  • 55
0
votes
1 answer

Start ratpack.groovy from Java

I´m trying to use ratpack groovy framework from Java, but I cannot find a way to init from Java. Any idea how to start up a ratpack.groovy script from Java? This is my ratpack script ratpack { def tokens=[:] serverConfig { port 9000 } handlers…
paul
  • 12,873
  • 23
  • 91
  • 153
0
votes
1 answer

Groovy conflicting in Intellij

I have a groovy project in Intelij, when I try build my project using gradle I get this message about conflicting groovy versions. "Conflicting module versions, Module[groovy-all is loaded in version 2.4.3 and you trying to load version 2.4.5" I go…
pocockn
  • 1,965
  • 5
  • 21
  • 36
0
votes
1 answer

How to deploy Ratpack API into remote server?

I have created an API using Ratpack and Groovy. All the GET, POST apps are working locally. Now I want this to move it to some remote server(say dev environment). How can I do this? To start and run the app in local, I have to do either "gradle run"…
tanmayghosh2507
  • 773
  • 3
  • 12
  • 31
0
votes
1 answer

Sending email with groovy/ratpack

I've been looking online for examples for this but I can't seem to find any. I'm trying to write a function in my groovy/ratpack web app that sends out email notification whenever an event is triggered. Any ideas would be apprecatied.
0
votes
0 answers

Groovy OnStart timer task - how to block for task to finish before next task

My application invokes the following timer task from another class OnStart right away, one of the problems I'm trying to avoid is having the the next task invoked before the first one is done. How do I approach this? import…
0
votes
1 answer

RatpackServer.start in connection with ratpack-pac4j causes non-static context error

I have got very incomprehensible (for me) trouble with RatpackServer's start method. Fristly, I mean this method static RatpackServer start(Action definition) throws Exception and here is my code: public…
Mack94
  • 91
  • 7
0
votes
1 answer

Ratpack Servlet filter in java

I am looking for a single point of interception for Ratpack API based applications. Just like we have Web.xml in our regular Web based applications, does their exists anything in Ratpack API where I can handle or redirect requests to handlers in…
0
votes
1 answer

geb testing on ratpack and vuejs

I'm building a frontend using Ratpack and the asset-pipeline and am testing it using Geb. I require some of the pages to be dynamic, and as Knockoutjs seems to be no longer in development, I've been using VueJS. My problem is that while I'm able to…
0
votes
1 answer

How to stop ratpack run under netbeans IDE?

Problem: After starting ratpack application under netbeans IDE there's no way to stop it. Steps to reproduce Checkout project: https://github.com/akhikhl/ratpack-helloworld.git Start netbeans 7.4 (Gradle Support IDE plugin must be installed) Open…
akhikhl
  • 2,552
  • 18
  • 23
-1
votes
1 answer

Postgres Ratpack relation does not exist

I am using Ratpack and Postgres to create a simple application, currently I am just adding data into my Postgres database. The data gets mapped to my groovy object and then inserted into the database fine however in my logs I come across this…
pocockn
  • 1,965
  • 5
  • 21
  • 36
1 2 3 4 5
6