Groovy doesn't claim to be a fully-fledged functional programming language but it does provide the Java or Groovy developer with a whole toolbox of features for doing functional style programs. This talk looks at the key Groovy features which support a functional style. Topics covered include using closures, currying and partial evaluation, closure composition, useful functional-centric AST macros, useful functional-centric runtime meta-programming tricks, trampolining, using Java functional libraries, immutable data structures, lazy and infinite lists, using Groovy 2's static typing and approaches for moving beyond Java's type system.
Paul King leads ASERT, an organization based in Brisbane, Australia which provides software development, training and mentoring services to customers wanting to embrace new technologies, harness best practices and innovate. He has been contributing to open source projects for 20 years and is an active committer on numerous projects including Groovy. Paul speaks at international conferences, publishes in software magazines and journals, and is a co-author of Manning's best-seller: Groovy in Action.
Mens sikkerhetsmekanismer i SOAP-baserte tjenester er veldefinerte, finnes det mange forskjellige måter å sikre REST-tjenester på. Vi ser på hva som er viktig når man skal sikre REST-tjenester, og hvilke feil man bør unngå. Vi går gjennom noen av løsningene som benyttes av større aktører og ser hvordan disse beskytter tjenestene.
The Java platform has supported concurrent programming since its early days. However, the standard means of multithreading and synchronization have been difficult to master. In this talk Dierk Koenig will explore how with the help of GPars, Groovy's library for concurrent programming, concepts like fork/join, map/reduce, actors, and dataflow can make our concurrent tasks simpler and less error-prone. If you work on the JVM and would like to prepare yourself for the multi-core era, jump in and join the party!
Dierk König works as a fellow for Canoo Engineering AG, Basel, Switzerland. He is a committer to many open-source projects including Groovy, Grails, GPars, and GroovyFX and a manager of the open-source Canoo WebTest project.
He is lead author of the "Groovy in Action" book, which is amoung the publisher's best-selling titles of the decade.
This videos shows how to enable debug mode on OpenShift and JBoss Developer Studio 5 to connect to the JBoss application via Port Forwarding.
The steps to do this manually are:
1) Create an empty file .openshift/markers/enable_jpda
2) Commit and push this to OpenShift
3) Right click on server, choose OpenShift > Port Forwarding...
4) Click "Start All", Close the dialog
5) Use "Debug As" > "Confgurations" and setup a Remote Java Application
6) Set the project, host should be localhost and port 8787
7) If you wish go to source tab and add "Maven Source Lookup Container" and point to a local JBoss Application Platform 6
8) Click Debug