Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
engswee
Active Contributor

Oh Say Can You Say Groo-vy?


One of the most frequently asked questions related to SAP Cloud Platform Integration on SAP Community is about Groovy. It ranges from where to start learning about Groovy to a specific Groovy-related task/issue that needs to be addressed. While Groovy has been around for a while, its usage in the SAP ecosystem is quite recent. It is used as one of the scripting languages in SAP Cloud Platform Integration. Therefore a literature gap exists in the specific area of Groovy in the context of SAP Cloud Platform Integration, and thus the source of many of the above mentioned questions.

 

Would You Like a Bite?


With that in mind, vadim.klimov and myself got together to address this by writing an SAP PRESS E-Bite. After more than six months of intense writing and editing, it is our pleasure to announce that it is now ready for YOU! The E-Bite will be available from SAP PRESS beginning this Thursday, 18 June 2020.

Developing Groovy Scripts for SAP Cloud Platform Integration



Developing Groovy Scripts for SAP CPI


 

Despite trends like the low-code movement, and software vendors' efforts to simplify and standardise their products, it is our experience that integration has not become significantly simpler. On the contrary, with hybrid landscapes being the norm, integration requirements have become more diverse. For Vadim and myself, we have invested our time and energy over the past few years to learn and master Groovy, as we are convinced that it allows us to tackle the whole range of integration requirements. We would like to share with you the tips, tricks and learning paths that we have consolidated from our own journeys.

If you are interested in honing your skills in the same manner, we recommend you to pick up this E-Bite and go down the rabbit hole with us!

 

What's Down the Rabbit Hole?


Similar to Alice's adventure in Wonderland, your journey through the E-Bite will be action-packed and filled with adventures! There are tonnes of examples and code for you to try out, and it is peppered with treats that help to increase your productivity. Along the journey, you will also discover answers to some of these questions:

  • How to code in a "Groovier" manner?

  • Where to write/develop Groovy scripts - in CPI's web UI, in Notepad, or in an Integrated Development Environment (IDE)?

  • Why are there different variants of accessing the message body:


message.getBody(java.lang.String.class)

message.getBody(java.lang.String) as String


  • And why we recommend the following instead, and how it actually works?!


message.getBody(Reader)


  • How to simplify transformation from one JSON structure to another without using the built-in JSON<->XML converters?

  • What happens under the hood in CPI, when an iFlow is deployed?


No matter if you are a beginner or an experienced developer, there is bound to be something that you can learn from it.

 

Start Your Journey Today!


Ready to start your Groovy journey? Head on to SAP PRESS to get yourself a copy of the E-Bite.
20 Comments
MortenWittrock
Active Contributor
Congratulations on the book, Eng Swee and Vadim. Awesome job 😄
engswee
Active Contributor
Thanks Morten, for your kind words. And more importantly, for helping to sanity check our manuscript - that was priceless 😉
MortenWittrock
Active Contributor
Anytime!
ymAllen
Participant
Congrats Eng Swee and Vadim. You guys are the best!
engswee
Active Contributor
0 Kudos
Thans Allen! Hope you will join us down the rabbit hole and enjoy the adventure 🙂
fatihpense
Active Contributor
Congratulations to you and Vadim! Writing a book takes an enormous effort. Thanks for taking this challenge and sharing the result with us!
engswee
Active Contributor
0 Kudos
Thank Fatih for your kind comment. Yes it is an enormous effort which both of us were not aware of, being first time writers. We found out through the process how all-consuming it can get! We are very relieved that it will finally be out tomorrow! 🙂
Just ordered, only book on the market which covers topic: Groovy for CPI. Great!
engswee
Active Contributor
0 Kudos
Fantastic! Glad that we are able to address the need/gap! Thanks for the support, Dejan 😉
rakeshdamera
Participant

Thank you Eng & Vadim! Just got my copy, looking forward to consuming it soon.

engswee
Active Contributor
Fantasic! Hope you enjoy it, Rakesh! 😉
jaya_shankar1
Discoverer
0 Kudos
HI Eng @&Vadmi,

 

From where i have to buy this E-Bite ? I don't find any link . Please advise.
engswee
Active Contributor
0 Kudos
Hi Jaya,

 

Thank you for your interest. The link is just above the image of the E-Bite 🙂 It might not have been that obvious.

I've included in below as well.

https://bit.ly/37BSL9R

 

Regards

Eng Swee
saket_chiluveru
Explorer
0 Kudos

Hi,

I am sure this is a useful book.

Does your book cover UDF ?

I am trying to understand the UDF method signatures and cant find a good documentation on how and which method style to use and when ?

Just wanted to know if your book also covers these scenarios ?

Thanks

Regards

 

Saket L.C

 

engswee
Active Contributor
0 Kudos
Hi Saket

 

Yes, we do have a section about Custom Functions in Message Mapping (which is similar to UDF in SAP PI) in the book.

 

Regards,

Eng Swee
saket_chiluveru
Explorer
0 Kudos
Thanks Eng.

I may decide to buy it then !

Regards

Saket
saket_chiluveru
Explorer
Hi engswee.yeoh ,

Just got the book ! 🙂

 

Regards

 

Saket
JohnColtrane
Explorer
0 Kudos
Hi Eng

Just purchased the book, and it is proving to be very useful; however, I have one question. Is there an IDE that would allow me to not only run, but debug Groovy?

Thanks in advance.

Mark
engswee
Active Contributor
0 Kudos
Hi Mark

 

Great to hear that the book is useful for you 🙂

 

You can use IntelliJ IDEA (that we recommend in the book) to also debug the Groovy scripts.
yeeloon-khoo
Explorer
0 Kudos
Hi Eng Swee,

i had added this e-bite ebook by you and Vadim Klimov, as one of SAP CPI learning resource in this LinkedIn article about SAP CPI concepts and SAP CPI learning steps. Hope this is ok for you 🙂

 
Labels in this area