ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Base64

Post new topic  Reply to topic
 Base64 « View previous topic :: View next topic » 
Author Message
Gaya3
PostPosted: Mon May 18, 2015 5:50 am    Post subject: Base64 Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Mon May 18, 2015 6:41 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Mon May 18, 2015 7:28 am    Post subject: Reply with quote

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
View user's profile Send private message
Gaya3
PostPosted: Mon May 18, 2015 7:32 am    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Mon May 18, 2015 7:34 am    Post subject: Reply with quote

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
View user's profile Send private message
mgk
PostPosted: Mon May 18, 2015 8:00 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1638

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
View user's profile Send private message
Gaya3
PostPosted: Mon May 18, 2015 9:04 am    Post subject: Reply with quote

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
View user's profile Send private message
stoney
PostPosted: Mon May 18, 2015 9:29 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Base64
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.