Errai: The browser as a platform

Wednesday, May 24, 2017

Errai 4.0.0.Final released!

Today I'm thrilled to announce that Errai 4.0.0.Final has been released!

At a glance, here are the big changes from Errai 3 to 4:
  • Uses GWT 2.8.0 and WildFly 10 for Super Dev Mode
  • Has a new Errai IoC container supporting incremental code regeneration, and greater compliance with CDI
  • Has advanced JS Interop support, including dependency injection of native JavaScript objects, and templating and data-binding with JS Interop wrappers of DOM elements and web components
  • Has message bus enhancements (better clustering support and CSRF protection)
All of these changes have been discussed in previous blog posts. Nonetheless, in this post I will summarise these changes with links to the more detailed descriptions.

New Errai IoC Container

Errai 4 has a new IoC container, that supports incremental regeneration of code. The main benefit of this is to improve the performance of refreshing during Super Dev Mode. But this rewrite also allows for the possibility of migrating to annotation processors for all code generation in a future release.

The new IoC container also more closely aligns with CDI:
  • @ApplicationScoped beans must be proxiable, and are lazily loaded like in Weld
  • @Singleton is a "pseudo-scope": it need not be proxiable but cannot be part of a circular injection
  • @Typed annotation is supported
In some cases, beans may be resolved slightly differently than in Errai 3. Our upgrade guide highlights some important "gotchas" to look out for when upgrading to Errai 4.

Advanced JS Interop Support

The overarching theme of Errai 4 is working directly with JavaScript APIs and the DOM via JS Interop. If you don't already know about JS Interop, I encourage you to watch the first half of this talk by Daniel Kurka at GWTCon.

Here are the ways in which you can use JS Interop with Errai 4:
  • Use JS Interop interfaces for DOM elements or web components as @DataFields in @Templated components
  • Use JS Interop interfaces for DOM elements or web components as @Bound UI components with Errai data-binding
  • Inject JavaScript objects into your application like normal GWT/Java objects
You can read more about Errai 4 JS Interop support here and here, or view examples in the Errai Tutorial.

Message Bus Enhancements

The Errai message bus has received some love in Errai 4, with fixes that improve fail-over behaviour in clustered setups, and optional built-in CSRF protection.

Both of these are described briefly in this blog post.

Thanks to the Community

I'd like to end by thanking everyone in the Errai community who contributed to the quality of this release, through pull requests with new features and reports of important issues in our beta and candidate releases. In particular, the Errai JS Interop support was greatly improved by the important feedback from our community.

Until the next time, happy coding!

13 comments:

  1. Nice post! I thank you for sharing this nice blog with us. Likewise, I would like to say something that Happy Heap Marketing is also one of the
    javascript development courses

    ReplyDelete
    Replies
    1. i am ERIC BRUNT by name. Greetings to every one that is reading this testimony. I have been rejected by my wife after three(3) years of marriage just because another Man had a spell on her and she left me and the kid to suffer. one day when i was reading through the web, i saw a post on how this spell caster on this address AKHERETEMPLE@gmail.com have help a woman to get back her husband and i gave him a reply to his address and he told me that a man had a spell on my wife and he told me that he will help me and after 3 days that i will have my wife back. i believed him and today i am glad to let you all know that this spell caster have the power to bring lovers back. because i am now happy with my wife. Thanks for helping me Dr Akhere contact him on email: AKHERETEMPLE@gmail.com
      or
      call/whatsapp:+2349057261346




      i am ERIC BRUNT by name. Greetings to every one that is reading this testimony. I have been rejected by my wife after three(3) years of marriage just because another Man had a spell on her and she left me and the kid to suffer. one day when i was reading through the web, i saw a post on how this spell caster on this address AKHERETEMPLE@gmail.com have help a woman to get back her husband and i gave him a reply to his address and he told me that a man had a spell on my wife and he told me that he will help me and after 3 days that i will have my wife back. i believed him and today i am glad to let you all know that this spell caster have the power to bring lovers back. because i am now happy with my wife. Thanks for helping me Dr Akhere contact him on email: AKHERETEMPLE@gmail.com
      or
      call/whatsapp:+2349057261346

      Delete
    2. Hello viewers around the Globe, I was despondent because i had a very small penis, about 2.5 inches soft and 4 inches hard not nice enough to satisfy a woman, i have been in so many relationship, but cut off because of my situation, i have used so many product which doctors for me, but none could offer me the help i searched for. i saw some few comments on the INTERNET about this specialist called Dr,OLU and decided to contact him on his email: Drolusolutinthome@gmail.com) so I decided to give his herbal product a try. i emailed him and he got back to me, he gave me some comforting words with his herbal pills for Penis Enlargement, Within 3 week of it, i began to feel the enlargement was surprised when she said that she is satisfied with my sex and i have got a large penis. Am so happy, thanks to Dr OLU I also learn that Dr OLU also help with Breast Enlargement Hips and Bums Enlargement etc.. If you are in any situation with a little Penis, weak ejaculation, small breast_hips_bums do get to Dr OLU now for help on his email (Drolusolutionhome@gmail.com) or add him on whatsapp line +2348140654426 

      Delete
    3. WITH THE HELP OF  DR PERFECT ENLARGEMENT CREAM MY PENIS GROW  FROM 3 INCHES TO 9 INCHES YOU CAN ON EMAIL AT SOLUTIONTOALLPROBLEMS1@GMAIL.COM

      Hello everyone I have to give my testimony about a herbal doctor called Dr Perfect. I was heartbroken because I had a very small penis not good enough to satisfy a woman, I have been in so many relationships but they were cut off because of my situation, I have used so many products prescribed by the doctor but none could render me the help I was looking for, so I decided to search online for solution and I saw a lot of comments about this specialist called Dr Perfect on how he helped people with small penis, cancer and others so I decided to give his herbal product a try, I messaged him on WhatsApp and replied me back, he gave me some comforting words we talked on how i can receive the product and he sent me his herbal product for penis enlargement, within 1 week of using it I began to feel the enlargement of my penis, now it just two weeks of me using his products my penis is about 9 inches longer, and I settle things with my girlfriend I was surprised when she said that she is satisfied with my performance in bed and am happy that i have a big penis now all thanks to Dr Perfect feel free to contact Dr Perfect at solutiontoallproblems1@gmail.com or WhatsApp him +1(256)251-3614 and get your enlargement cream 







      WITH THE HELP OF  DR PERFECT ENLARGEMENT CREAM MY PENIS GROW  FROM 3 INCHES TO 9 INCHES YOU CAN ON EMAIL AT SOLUTIONTOALLPROBLEMS1@GMAIL.COM

      Hello everyone I have to give my testimony about a herbal doctor called Dr Perfect. I was heartbroken because I had a very small penis not good enough to satisfy a woman, I have been in so many relationships but they were cut off because of my situation, I have used so many products prescribed by the doctor but none could render me the help I was looking for, so I decided to search online for solution and I saw a lot of comments about this specialist called Dr Perfect on how he helped people with small penis, cancer and others so I decided to give his herbal product a try, I messaged him on WhatsApp and replied me back, he gave me some comforting words we talked on how i can receive the product and he sent me his herbal product for penis enlargement, within 1 week of using it I began to feel the enlargement of my penis, now it just two weeks of me using his products my penis is about 9 inches longer, and I settle things with my girlfriend I was surprised when she said that she is satisfied with my performance in bed and am happy that i have a big penis now all thanks to Dr Perfect feel free to contact Dr Perfect at solutiontoallproblems1@gmail.com or WhatsApp him +1(256)251-3614 and get your enlargement cream 

      Delete
    4. Good-day viewers that is reading this article, i want to share to the world how this great man save me from HERPES VIRUS 1/2 3years back i was battling with this terrible and disastrous disease which was so detesting,well on my aid of looking for solution all my effort conceived nothing, I was devastated but one day out of great enthusiasm i saw this intrigue testimonies about Dr Ojoka so afterwards i contacted Dr ojoka on his emails: (drojokarootandrootandherbal@gmail com) I explained myself to him and i obeyed all his instruction without protesting any further he assured me that all will be fine and that was it,i was totally cure when i used the herbal medicine that was sent to me,Thank so much sir Dr Ojoka for your help, Dr ojoka also cures several disease such as DIABETES, HIV AIDS, HEPATITIS B & C And many more, incase you are going through this same infection yours can also be cured, contact his mobile or What App : +2348144172934
      check his blog: https://perfectherbalcure.blogspot.com/

      Delete
    5. God bless Dr ojoka for his marvelous work in my life, I was diagnosed of HERPES since 2011 and I was taking my medications, I wasn't satisfied i needed to get the HERPES out of my system, I searched about some possible cure for HERPES i saw a comment about Dr ojoka how he cured HERPES with his herbal medicine, I contacted him and he guided me. I asked for solutions, he started the remedy for my health, he sent me the herbal medicine through UPS SPEED POST. I took the medicine as prescribed by him in 2 weeks and 3 days later i was cured from HERPES, Dr ojoka truly you are great, do you need his help also? Why don't you contact him through email:{dr.ojokarootandherbal@gmail.com or whats app/call +2348144172934} check his blog: https://perfectherbalcure.blogspot.com/  check his blog: https://penisherbalenlarge.blogspot.com/ FB page https://www.facebook.com/Sayo-Herbal-Healer-100145798345000/ 












































































































































      God bless Dr ojoka for his marvelous work in my life, I was diagnosed of HERPES since 2011 and I was taking my medications, I wasn't satisfied i needed to get the HERPES out of my system, I searched about some possible cure for HERPES i saw a comment about Dr ojoka how he cured HERPES with his herbal medicine, I contacted him and he guided me. I asked for solutions, he started the remedy for my health, he sent me the herbal medicine through UPS SPEED POST. I took the medicine as prescribed by him in 2 weeks and 3 days later i was cured from HERPES, Dr ojoka truly you are great, do you need his help also? Why don't you contact him through email:{dr.ojokarootandherbal@gmail.com or whats app/call +2348144172934} check his blog: https://perfectherbalcure.blogspot.com/  check his blog: https://penisherbalenlarge.blogspot.com/ FB page https://www.facebook.com/Sayo-Herbal-Healer-100145798345000/ 


































































































      Delete
    6. Just wanna say a big thank you Neme Amber for introducing me to Dr Emmanuel the great HERBALIST that helped me prepare home remedies that cured my herpes (HSV 2).
      I was infected with HSV 2 for the past two years and i was unable to get a better job cos all the company i was to get employed checked our blood test and found out that i was positive to GENITAL HERPES and i loosed employment.
      So i was desperate to get a cure so that i can live normal and get my job training.
      i earlier made some research and i contacted some doctors online but they keep on asking for money for courier after that they'll tell you that tax and so more so i became broke and frustrated.
      One day i was less busy so i decided to make latest research on herpes cure and i found a site  were everyone was talking about DR Emmanuel and herbs ability to cure herpes.
      So i discussed with Neme Amber and she explained to me that its very easy working with Dr Emmanuel so i contacted DR Emmanuel via email ( nativehealthclinic@gmail.com ) and he helped me just as he has helped others now im cured and different medical centers has tested me and approved me cured.
      so i decided to thank Neme Amber cos she made it possible for me.
      and i can also assure you that he can also help you. so if you need the service of DR emmanuel, ill put his details here so that you can easily get in touch wif him.
      his email: nativehealthclinic@gmail.com or WhatsApp him at +2348140073965.
      my Name is Grace from US,once again thanks to Neme Amber. im fucking hapy....  

      Delete
  2. my name is Promise dickson Finch am from Texas USA. I want to share a testimony of how Dr. OLU herbal mixture cream saves me from shame and disgrace, my penis was a big problem to me as the size was really so embarrassing,and i was also having weak erection problem. I can make love to my wife and my penis was just too small a full grown man like me having 4 inches penis and to worsen it i don't last in sex i cant even last two minutes it was really a thing of shame to me. My wife was really tired of me because my sex life was very poor,she never enjoyed sex,i was always thinking and searching for solutions everywhere until when i saw a testimony of how Dr. OLU. herbal mixture cream have been helping people regarding their sex life, so i decided to give him a try and to my greatest surprise in less than two weeks of taking the herbs my penis grow to 8 inches i couldn't believe my eyes and as i speak now my penis is now 8 inches and i do not have weak erection again. I can make love to my wife longer in bed. And my marriage is now stable,my wife now enjoy me very well in bed. You can contact him via (drolusolutionhome@gmail.com) You can contact him today and get your problem solved.Call +2348140654426 .." or you can also contact him through his what-app +238140654426







    my name is Promise dickson Finch am from Texas USA. I want to share a testimony of how Dr. OLU herbal mixture cream saves me from shame and disgrace, my penis was a big problem to me as the size was really so embarrassing,and i was also having weak erection problem. I can make love to my wife and my penis was just too small a full grown man like me having 4 inches penis and to worsen it i don't last in sex i cant even last two minutes it was really a thing of shame to me. My wife was really tired of me because my sex life was very poor,she never enjoyed sex,i was always thinking and searching for solutions everywhere until when i saw a testimony of how Dr. OLU. herbal mixture cream have been helping people regarding their sex life, so i decided to give him a try and to my greatest surprise in less than two weeks of taking the herbs my penis grow to 8 inches i couldn't believe my eyes and as i speak now my penis is now 8 inches and i do not have weak erection again. I can make love to my wife longer in bed. And my marriage is now stable,my wife now enjoy me very well in bed. You can contact him via (drolusolutionhome@gmail.com) You can contact him today and get your problem solved.Call +2348140654426 .." or you can also contact him through his what-app +238140654426



    ReplyDelete
  3. Thanks for the information you shared!!!
    Proship là đơn vị vận tải uy tín tại TPHCM chuyên cung cấp tới quý khách hàng các dịch vụ như: vận chuyển ô tô giá rẻ, dịch vụ bốc xếp, dịch vụ ship cod, vận chuyển xe máy bắc nam, cho thuê xe tải, vận chuyển container,... Proship tự tin mang lại cho quý khách hàng những dịch vụ tốt nhất, giá cả ưu đãi và chất lượng tốt nhất.

    ReplyDelete
  4. i am ERIC BRUNT by name. Greetings to every one that is reading this testimony. I have been rejected by my wife after three(3) years of marriage just because another Man had a spell on her and she left me and the kid to suffer. one day when i was reading through the web, i saw a post on how this spell caster on this address AKHERETEMPLE@gmail.com have help a woman to get back her husband and i gave him a reply to his address and he told me that a man had a spell on my wife and he told me that he will help me and after 3 days that i will have my wife back. i believed him and today i am glad to let you all know that this spell caster have the power to bring lovers back. because i am now happy with my wife. Thanks for helping me Dr Akhere contact him on email: AKHERETEMPLE@gmail.com
    or
    call/whatsapp:+2349057261346




    i am ERIC BRUNT by name. Greetings to every one that is reading this testimony. I have been rejected by my wife after three(3) years of marriage just because another Man had a spell on her and she left me and the kid to suffer. one day when i was reading through the web, i saw a post on how this spell caster on this address AKHERETEMPLE@gmail.com have help a woman to get back her husband and i gave him a reply to his address and he told me that a man had a spell on my wife and he told me that he will help me and after 3 days that i will have my wife back. i believed him and today i am glad to let you all know that this spell caster have the power to bring lovers back. because i am now happy with my wife. Thanks for helping me Dr Akhere contact him on email: AKHERETEMPLE@gmail.com
    or
    call/whatsapp:+2349057261346

    ReplyDelete
  5. You have outdone yourself this time. It is probably the best, most short step by step guide that I have ever seen. Visit for more

    ReplyDelete
  6. WITH THE HELP OF  DR PERFECT ENLARGEMENT CREAM MY PENIS GROW  FROM 3 INCHES TO 9 INCHES YOU CAN ON EMAIL AT SOLUTIONTOALLPROBLEMS1@GMAIL.COM

    Hello everyone I have to give my testimony about a herbal doctor called Dr Perfect. I was heartbroken because I had a very small penis not good enough to satisfy a woman, I have been in so many relationships but they were cut off because of my situation, I have used so many products prescribed by the doctor but none could render me the help I was looking for, so I decided to search online for solution and I saw a lot of comments about this specialist called Dr Perfect on how he helped people with small penis, cancer and others so I decided to give his herbal product a try, I messaged him on WhatsApp and replied me back, he gave me some comforting words we talked on how i can receive the product and he sent me his herbal product for penis enlargement, within 1 week of using it I began to feel the enlargement of my penis, now it just two weeks of me using his products my penis is about 9 inches longer, and I settle things with my girlfriend I was surprised when she said that she is satisfied with my performance in bed and am happy that i have a big penis now all thanks to Dr Perfect feel free to contact Dr Perfect at solutiontoallproblems1@gmail.com or WhatsApp him +1(256)251-3614 and get your enlargement cream 

    ReplyDelete
  7. First, I want to complement this site administrator for creating this platform for us to express our feelings

    I frequently get cold sores(which lasts for 5-6 days on my lips and its painful both physically and mentally) .. As a bodybuilder, I basically get outbreak due to the daily pressure and heat in the body.. Recently I stumbled upon my salvation. I found a herbal remedy to cure hsv completely, in just 4weeks ..

    I got to know about Dr Utu after seeing a lady's testimony online. I reached the doctor and I ordered for herpes herbal medicine. He sent the herbs to me and I started making use of them. In just 2days, the cold sores are cleared. 4weeks after medication, I went to the hospital for test of cold sores and it was completely NEGATIVE.

    By following every prescription, i was able to cure my cold sore in less than 4weeks. 100% natural herbs no after effect.
    Note: Please do let others know if this work for you.
    The doctor's email is drutuherbalcure@gmail.com
    Note : follow all instructions accordingly..

    If you are sure that you have benefited from this African herbs be courageous to inform others.
    Thanks in advance

    ReplyDelete