Questions tagged [errai]

Errai is a GWT-based framework for building rich web applications.

Errai provides a comprehensive framework and tools for building rich web applications, leveraging the GWT compiler. With standard server-side APIs, such as CDI in the browser, managing large web applications was never so easy.

115 questions
1
vote
2 answers

OutOfMemoryError: Java heap space at java.util.Arrays.copyOfRange

This is the error that is thrown in the GWT DevMode console when passing an image base64 String (abour ~360KB in size) to a GWT method with String param: java.lang.OutOfMemoryError: Java heap space at …
quarks
  • 33,478
  • 73
  • 290
  • 513
1
vote
1 answer

Errai Bus (Newbie) - Without CDI - Quick Q

Errai seems like a really neat project. We just started working with it to port some of the GWT stack to errai. With the Bus (I guess the most famous part of Errai), I had an extremely quick Q. We still havent brought in CDI.. will do at some point…
1
vote
1 answer

Cannot make GWT devmode plugin work with Firefox

I always get this error below when running GWT devmode on Firefox (version 21) with this GWT Plugin. Error: [INFO] WARN [EnvUtil] enable reachability analysis with -Derrai.compile.perf.perform_reachability_analysis=true [INFO] INFO…
quarks
  • 33,478
  • 73
  • 290
  • 513
1
vote
1 answer

Error running in SuperDevMode (Maven)

Below is the error I see when trying to run Errai with Maven: $mvn gwt:run-codeserver -Dgwt.bindAddress=0.0.0.0 -Dgwt.module=app.App What could be missing in my dependency? When I run with: $mvn gwt:run There's no problem and the apps works…
quarks
  • 33,478
  • 73
  • 290
  • 513
1
vote
2 answers

Error compiling GWT application (Errai)

Can any help me understand why my application is throwing this error when running mvn gwt:compile: [INFO] Compiling module org.jboss.errai.ui.demo.App [INFO] Scanning for additional dependencies:…
user1302575
1
vote
2 answers

Errai, CDI, Netbeans warnings and beans.xml

Is there any easy way to remove these nasty Netbeans warnings about "Unsatisfied dependency: no bean matches the injection point"? The problem is that the GWT and Errai packages do NOT contain beans.xml files and therefore do not contain activated…
user1050755
  • 11,218
  • 4
  • 45
  • 56
1
vote
1 answer

How can I get a GWT/Errai project running from IntelliJ 11 Community Edition?

What do I need to do to set up a working run configuration for a GWT project using Errai, in IntelliJ IDEA 11 Community Edition (which does not include the GWT plugin)? I have found instructions for running a GWT project in IntelliJ Community…
Katie J. Ots
  • 873
  • 9
  • 13
1
vote
1 answer

Jboss Errai and an own Google Guice Module

Does anyone know how can I include the Jboss Errai project into a project that already use Google Guice? The Errai documentation says it uses Guice internally, however I need that my Guice module recognizes the Errai one. I am getting this error: No…
Christian
  • 305
  • 1
  • 4
  • 13
0
votes
0 answers

How do I start an Errai / GWT application in Super Dev Mode with maven?

I am unable to run an Errai/Gwt application in superDev Mode with the following command mvn clean gwt:run And I am receiving error. The errai framework uses the mojo gwt-maven and I can't make it work with the Tbroyer version. the error I am…
djasy3
  • 25
  • 7
0
votes
0 answers

Why would you choose GWT /Errai over React.js or Vue.js for building large applications?

Given that a developer is tasked to build large applications, e.g Booking sites, Video Conferencing apps, etc) As a seasoned React.js or Vue.js developer, what would be the compelling reasons that a seasoned Java developer should start learning to…
quarks
  • 33,478
  • 73
  • 290
  • 513
0
votes
1 answer

CDI events not firing

I have an Errai app which CDI events are not firing: @Dependent @Templated @Page(path = "person") public class PersonPage extends Composite { @Inject @Loaded Event loadedEvent; @PageShowing public void showing() { …
quarks
  • 33,478
  • 73
  • 290
  • 513
0
votes
1 answer

How to put a static local image in html template in Errai Framework?

I have html template, and I would like to use inside an image as follow: I use errai in version: 4.0.0.CR1. I've checked documentation, but there is no word about it. What path should be set for local image's in template…
masterdany88
  • 5,041
  • 11
  • 58
  • 132
0
votes
1 answer

How to convert errai's: HTMLElement, Node into gwt widget?

I've errai's widget of HTMLElement type. I would like to put into current page content from org.jboss.errai.ui.nav.client.local.Navigation class as follow: IsWidget widget = navigation.getContentPanel(); SimplePanel.add(IsWidget widget); but in…
masterdany88
  • 5,041
  • 11
  • 58
  • 132
0
votes
1 answer

Can @ApplicationScoped annotations be used with @Templated bean?

I've notice that @ApplicationScoped annotations is been used only with models/services class in errai documentation. I wonder is possible to use it with user iterface fragments, like @Templated files? For example I have one widget that is offen…
masterdany88
  • 5,041
  • 11
  • 58
  • 132
0
votes
0 answers

Errai JAX-RS Rest service returns 404 Not found

I've followed instruction that was here: http://docs.jboss.org/errai/latest/errai/reference/html_single/#sid-19398997 Unfortunatelly I can not make this work. Here is my service interface: package pl.korbeldaniel.erpe.shared.rest.api; import…
masterdany88
  • 5,041
  • 11
  • 58
  • 132