Author |
Message
|
Gaya3 |
Posted: Mon May 18, 2015 5:50 am Post subject: Base64 |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Hi Experts
Which Base64 is the best to use in IIBV9
http://www-01.ibm.com/support/docview.wss?uid=swg21676037
1)Base64 class from Oracle
2)Base64 class from Apache
3)Generic base encoding from Google
Any advise _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon May 18, 2015 6:41 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Neither. Use the one from the broker.
com.ibm.broker.config.common.Base64 for IIB10 ...  _________________ MQ & Broker admin
Last edited by fjb_saper on Mon May 18, 2015 8:05 am; edited 1 time in total |
|
Back to top |
|
 |
mqjeff |
Posted: Mon May 18, 2015 7:28 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Never install additional jar files into Broker unless you have determined you absolutely have to.
This includes log4j. |
|
Back to top |
|
 |
Gaya3 |
Posted: Mon May 18, 2015 7:32 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
mqjeff wrote: |
Never install additional jar files into Broker unless you have determined you absolutely have to.
This includes log4j. |
this make sense thanks jeff,
there are some sections we are using log4j, i am trying to find out the alternatives _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
mqjeff |
Posted: Mon May 18, 2015 7:34 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Gaya3 wrote: |
mqjeff wrote: |
Never install additional jar files into Broker unless you have determined you absolutely have to.
This includes log4j. |
this make sense thanks jeff,
there are some sections we are using log4j, i am trying to find out the alternatives |
java.util.logging. Builtin, faster... better supported...
:innocent" |
|
Back to top |
|
 |
mgk |
Posted: Mon May 18, 2015 8:00 am Post subject: |
|
|
 Padawan
Joined: 31 Jul 2003 Posts: 1642
|
There is always the ESQL BASE64ENCODE and BASE64DECODE functions as well if that helps.
Kind regards, _________________ MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions. |
|
Back to top |
|
 |
Gaya3 |
Posted: Mon May 18, 2015 9:04 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
mgk wrote: |
There is always the ESQL BASE64ENCODE and BASE64DECODE functions as well if that helps.
Kind regards, |
yes..we do have some java based message flows where we are looking for this base64 _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
stoney |
Posted: Mon May 18, 2015 9:29 am Post subject: |
|
|
Centurion
Joined: 03 Apr 2013 Posts: 140
|
Hi,
None of the above, apart from the ESQL methods when you are writing ESQL
Quote: |
1)Base64 class from Oracle |
This would be ideal, but I'm not sure why it is even listed on that document - it's only available starting with Java 8 - and currently no version of IIB supports Java 8!
Fortunately there's another option available, and it's included within the standard JRE shipped with IIBv9:
http://docs.oracle.com/javase/7/docs/api/javax/xml/bind/DatatypeConverter.html
Check out the parseBase64Binary and printBase64Binary static methods.
If it helps, we use these functions internally within IIB.
Cheers,
Simon |
|
Back to top |
|
 |
|