Eclipse useful plugins

Eclipse is one of the most important IDE’s for java development, certainly I preferred use IntelliJ, but when I’ve work with eclipse I need some plugins to improve my work and safe time.

This is my personal plugin selection:

More Unit – Assist for testing (rapid jump, run and generate tests), and decorates the files with markers

2018-12-11 14_04_34-Java EE - - Ecli

2018-12-11 14_12_51-Java EE - - Seguir leyendo


SAP PI Encrypt Soap request with private certificate

I’ve been working to secure the information with a SOAP web service with SAP PO and It’s an expensive and frustraiting task for me because I don’t have enough knowldege about TLS protocol and certificates.

In this entry I want to share my experience to do it.


  1. Create a keypair certificates in Keystore (Private key and public certificate) and export them
  2. Configure the SOAP sender communication Channel
  3. Configure the Integrated Configuration Scenario (ICO)
  4. Configure web service client (SOAP-UI)

1.Create a keypair certificates in Keystore (Private key and public certificate) and export them

Go to NWA> Configuration > Security > Certificates and keys, then on Key storage tab Add View, give it a name for key storage (it’s selected by default). Now on View Entries tab select create and set a name for your key pair, leave the options by default  and check Store Certificate optionand click next. Fill out the data for your certificate, something like this:

Seguir leyendo

SAP PI Proxy to JDBC to get millions of records

Recently I’ve had to develop a scenario  with Proxy to JDBC communication to extract a lot of records (millions of records), the strategy to achieve this is get a bunches of records in packages until transfer all records from database to SAP.

I’ve developed a Service Interface with tree operations:

  • Count: to get the number of records to extract
  • Transfer: to get records in packages
  • Delete: clear the table if the prrocess completes successfully

The execution logic is simple, first, SAP counts all record in DB to know how many of them will be extract, next an ABAP program calculate the size of packages and start to extract the records in packages, and count the transfered data per package, at last, if the transferred data is equal to initial count the source table is deleted.

The interesting point is on Message mapping, let’s review them: Seguir leyendo

JDK 8: Lambdas and Streams Introduction

I was enroll since 2014 in Oracle Learning to take a massive online course (MOC) named JDK 8: Lambdas and Streams Introduction, but I leaved it for the scholar activities and my work, I don’t had time to take it.

If you don’t know it, Oracle Learning has published a few free courses about Oracle Technologies, it looks very complete and interesting, may be you want give a try.

Well and now that I took the course to learn about new features about JDK 8 (I know, currently Java 8 is an old version, but I want to know it).

The video lessons are really good and very concrete, and I’m happy with the result, unaunfortunately the tests had expired, I don’t care too much becase the important is the content of the course, the maximum score that I could get is 88%:

2018-07-03 17_53_07-Learning Path Finder

I’m really happy with the result I want to know more about the Functional Programming and the best practices to use the Stream API and Lambdas, I think is very usefull aproach for Java language.

The next course that I want to take is the JVM Troubleshooting.


Java 8 Streams performance comparing

I’ve read in this post about the performance using Streams in Java 8 and this one from DZone with recommendations to improve functional programming, I want to do single performance test of the Stream API using funtional programming opatterns. Each one is very interesting, I recommend you read them.

To test this I’m going create a Student list with 900,000 instances, each one with ramdom scores and I’m get the maximun score with different loops for the Students graduaded on 2011.

And I want to show different variants to iterate my list

  • Loop with classic “for” instruction (old school style)
  • Loop Stream API with anonymous lambda
  • Loop Stream API with named functions
  • Loop Stream API with anonymous lambda (Optimized)
  • Loop Stream API with named functions (Optimized)
  • Loop Stream API, reduce function with anonymous lambda
  • Loop Stream API, reduce function with named function
  • Loop Stearm API, forEach with anonymous lambda
  • Loop Stearm API, forEach with named function

Seguir leyendo

Development, Impact & you

2018-06-13 18_42_55-Development Impact and You

Navegando me encontré con este excelente material con la recopilación de herramientas para las personas que se dedican a las actividades de innovación y el desarrollo.

Esta recopilación cuenta con una guía rápida de implementación de herramientas probadas a nivel mundial que te permiten obtener resultados.

EL material se divide en 4 categorías, donde cada uno muestra en una guía rápida lo que tienes que saber sobre la herramienta para utilizarla:

  • Explorar
  • Desarrollar un plan claro
  • Aclarar prioridades
  • Recolectar apreciaciones de otros
  • Conocer a mis colaboradores
  • Generar nuevas ideas
  • Probar y Mejorar
  • Sostener e implementar

Me parece que es un gran trabajo y es auto descriptivo, aquí una muestra.

2018-06-13 18_44_27-DIY-Toolkit-Full-Download-A4-Size.pdf

Todo el material es gratuito pero si gustas apoyar puedes comprar la versión impresa, qué considero es un excelente trabajo.


Source Tree resolve conflicts with an external tool

2018-05-21 12_55_29-Sourcetree-blue - Internet Explorer

Source Tree supports multiple external tools to compare differences and resolve conflicts between files. By default you can choose any of this:

Source tree tools

But In this entry I’m going to show how to use it with Meld. 

Meld is a visual diff and merge tool targeted at developers. Meld helps you compare files, directories, and version controlled projects.

In linux systems it’s very useful and it’s my preffered tool (only when I can’t use diff and merge tools from my IDE).

How to configure

For Windows

Got to main menú an select Tools > Options > Diff tab  and into selection option External Diff  pick Custom and into field Difff Command set the path to your meld binary (on windows is Meld.exe),  into field Arguments set this:

\"$LOCAL\" \"$REMOTE\"

Now for Merge Tool, select the same binary (Meld.exe) and set this into filed Arguments:

--auto-merge \"$LOCAL\" \"$BASE\" \"$REMOTE\" --output=\"$MERGED\"

Now if you choose any file in your project you can check the diff selecting External Diff or CTRL+D over your file, and meld it’s executed:


And it’s the same for files in conflict, select your file with the context menu Resolve conflicts > Launch External Merge Tool, now you can view side to side the differences between versions.


For Mac OSX

Meld is available for OSX here, download and install it.

Select Sourcetree menu > Preferences > Diff tab, on Diff command and Merge command set this value:

open -W -a Meld

For Diff command set  this args:

 --args  $LOCAL $REMOTE

For  Merge command set  this args:

--args --auto-merge $LOCAL $BASE $REMOTE --output=$MERGED

Note:If you want to disable auto backup files (with .orig extension) from git execute this command:

 git config --global mergetool.keepBackup false

And thats all, cheers