Ask questions and see you at March, 5th, 6.PM. CET: http://www.ustream.tv/channel/adambien
Also checkout recent episode:
Ask questions and see you at March, 5th, 6.PM. CET: http://www.ustream.tv/channel/adambien
Also checkout recent episode:
Hi Adam,
Do you know of any Java EE frameworks that add client (service provider) support for SAML 2.0 SSO profiles, something like spring SAML framework but for Java EE? For example, a framework that uses the Java EE Security API.
I need to create a project that can use different 3rd party identity providers for the authentication\authorization process and I don't want to add spring just for that.
I heard about keycloak but it looks that it's for creating an identity provider and not just a service provider. Am I wrong?
Thanks,
Eyal
Moin Adam,
thanks for your approach using plain standard javascript only. I really appreciate that and I think it is very helpful in long term support applications.
In my projects we are visualizing machine data in an ui. We are currently using javaFX and have to provide a web-ui in near future, for which we want to build a javascript-application. For us the main benefit of FX is databinding, esp because we have to deal with complex model objects. What do you think, how do you implement a two-way-databinding using plain javascript?
In practice a machine has a name, some main data and a set of sensors with number and data. An example json of a machine might be
{"name":"testMachine","main":{"valueA":47,"valueB":11},"sensors":[{"gauge":42,"sensor":12},{"gauge":3.14,"sensor":18}]}
The machine has a rest service to read and change main data, to read, add and remove sensors and to change some of sensor values. It also offers a web socket that pushes messages whenever sensors change (add, remove, change value).
The js-app visualizes that machine. It shows gauges with current sensor values and their variation in time. Even some meta-gauges that show calculated values. Further it offers input fields and submit-buttons to change the main and some sensor data.
In js-code we would like to have a single model-var with the machine data. We would like to bind that model with the web-socket,
the rest-calls and the several ui-dom objects.
How do you do that in plain standard js without ending up in a event-listener-hell?
Thanks, and greetings from Hamburg!
Hi Adam,
Just want to say thanks for all your videos! They are awesome and I recommend them to all my colleagues as well as your books.
I’m a long time viewer.
I was wondering if you could help me debug something. I was trying to replicate your code from your youtube video: https://www.youtube.com/watch?v=KUISpHbWib0
And when I run the code and hit http://localhost:8080/async/resources/answers in the browser it just hangs.
When I try to debug the code I can see the event being fired but the CDI observer never kicks in and receives the event.
When I print out the “consumer” variable to the console right after firing the event it shows something like:
Event Fired:com.airhacks.async.business.async.AnswersResource$$Lambda$182/37769991@1008c2ae
I thought maybe that somehow the event listener is waiting for a Consumer and in reality Consumer is being fired? Just a wild guess..
Here is the link to all my code. I think you should be able to get it.
https://github.com/tmulle/asynctest.git
Is there anything you see wrong? Maybe something simple and I overlooked something?
I’ve run this on both WildFly 10 and Glassfish 4.1.1 and they both hang right after they fire the event.
UPDATE: I've just tested this same code on WildFly 12 and it still hangs.
Thanks,