Java

Syndicate content 11 

Hi people,


I am migration my web application of Cache 2013 to Cache 2016, in Cache 2013 I have a integration with a Java aplication using Java Gateway mapping proxy classes and consuming a method that param is a object, and it works perfectly.

But in Cache 2016 this integration don't work, I send the param as object but Cache send as String with the ref of object...


I maked a test, importing two classes used by the Java Gateway (%Net.Remote.Proxy and %Net.Remote.Gateway) of the Cache 2013 to Cache 2016 and integration come back it to works, but I don't see significant changes to justify.


Someone has a same problem?

 

Regards,

Lucas Boeing Scarduelli

lucas@scarduelli.com

Skype: lucas.scarduelli

Facebook/Twitter/Linkedin: @lucasscarduelli

Last answer 7 June 2017 Last comment 7 June 2017
0 3
229

views

0

rating

Hi

I am working on a project that will interact with some software called ROS (Robot Operating System). One of the development challenges we have is as follows:

 

ROS uses web sockets... So one connect with ws://localhost:9090 to the web socket server.  It starts off as http, but then "upgrades" to web socket.  It then keeps open this "tunnel" for bi-directional communication..

 

I need something like a HTTP Outbound adapter, but the Web Socket version of it...

Does anyone have any experience in this area?

 

Nigel

Last answer 18 May 2017 Last comment 18 May 2017
0 5
439

views

0

rating

Short question: Why are (almost) all Java-Classes marked as deprecated? I never had any problems. And the docu for java-bindings are still (version 2016.2.1) not marked as deprecated. I ask, because in my case everything works and the writing of Unittests is easier than in Objectscript and i cannot find a note about the reason of the deprecation (at least in the classes i have checked).

Last answer 18 January 2017
0 2
0

comments

253

views

0

rating

Recently we have exercised this with a partner. It may be helpful for others as well.

The basic functionality is to connect to SAP through SAPJCo (Supporting SAPJCo 3.07+).

As a first step have a production with at least two items of the following type:

  • EnsLib.JavaGateway.Service
  • EnsLib.SAP.Operation

Configure the settings for the Java Gateway and the SAP Operation accordingly. And start the production.

 

Now the library sapjco3.jar needs to get imported to be used by further internal functionality.
Therefore start in a browser the webpage for simplified SAPJCo base installation

/csp/<your sapjco namespace>/EnsPortal.Dialog.SAPJCO.BaseConfiguration.cls.

Name the SAPJCo-Operation just in the wizard (in our case it is called „SAPJCoOperation“ within the production)

Last comment 10 January 2017
0 3
547

views

+ 1

rating

Internally we use splunk for monitoring applications and network.

Does Ensemble have a way of exposing internal metrics and/or a way of exposing custom built metrics? 

I've used Deepsee dashboards in the past to monitor Apache Tomcat/Apache Camel/hawtio using JMX rest calls. This is the other way around and ideally I'd like to expose metrics on:

  • HL7v2 messages (broken down into types)
  • Production performance
  • Error and Warning.

Understand Ensemble 2016.2 includes Java 8 JVM and was wondering if the JMX route (plus hawtio) is the way to do this?

Intercepting logging and exposing that in a splunk friendly format may be another option.

Many thanks

Kev

Last answer 12 December 2016 Last comment 3 January 2017
0 2
567

views

0

rating

A new Health Connect customer has a few experienced Java folks on their interface team. As they get more into Health Connect and learn Caché ObjectScript they thought it would be useful to have a list of common Java statements with an equivalent statement in ObjectScript. They mentioned string manipulation as an example, but would be interested in other areas as well.
 
This seems like something that is probably already floating around somewhere. Does anyone have something like this or other "COS jumpstart for Java devs" materials?

Thanks,
Marc

 

Last answer 14 November 2016
0 1
0

comments

216

views

+ 1

rating

Hello everyone,

I'm trying to authenticate a user(Health Share clinician) from a Java Application. 

I 'm already connected to Caché and able to run SQL commands.

My question is: How can I authenticate a user using only SQL? In fact, what I want is verify if the users exists in the base and if the given password is the same used in Health Share.

There is a column 'password' in Security.users table but I'm not able to see its content, even so, I don't know which hash function to use to compare with.

Last answer 26 August 2016 Last comment 29 August 2016
0 2
661

views

+ 1

rating

This is the first follow up after the post about headstarting SAPJCo3 with Ensemble and HealthShare ( https://community.intersystems.com/post/headstart-connect-sap-using-sapjco3-ensemble-and-healthshare).

Using the wizard which is available with Version 2016.1 and up (currently only through direct call in the webbrowser http://<server>:<port>/csp/<namespace>/EnsPortal.Dialog.SAPJCO.BaseConfiguration.cls ).

Make sure you have a running production with a configured SAPJCoOperation. After entering the SAP Operation field and clicking on Change connect information you should see the „Connect to SAP was succesful“. Indeed this already calls a „PING“ remote function call (RFC)

Last comment 27 August 2016
0 2
265

views

+ 1

rating

Starting with 2016.2 the Java XEP binding will no longer support the in-memory connection mode. The in-memory mode was deprecated in earlier versions and applications should switch to the TCP/IP connection mode instead.

The TCP/IP connection mode has bridged the gap in performance to a large extent over the past couple of years and enables the Java client to run on a remote machine.

Let me know if you have any questions or concerns.

This is a cross-post from our compatibility blog: http://blog.intersystems.com/compatibility/2016/04/22/removal-of-in-memo...

0 2
0

comments

147

views

+ 1

rating

Presenter: Maxim Vershinin
Task: Easily extend your solution’s range of interoperability
Approach: Build Java-only business services and business operations that exploit open-source Java libraries
 

Problem: The title states the problem Open source java libraries exist for hundreds of protocols and formats. This session explains how you can easily build java only Business Services and Business Operations to that exploit these libraries to extend the range of interoperability.

 

Content related to this session, including slides, video and additional learning content can be found here.

0 1
0

comments

173

views

0

rating

Presenter: Gerd Nachtsheim
Task: Contribute to and influence open-source communities
Approach: Discuss how the joint efforts of people within and outside of InterSystems created our Hibernate driver and contributed to the Hibernate project
 

Description: The development of our latest Hibernate driver was a joint effort of multiple groups of people within and outside of InterSystems with different roles that was ultimately contributed to the Hibernate project. Come to this session to learn more about how open-source communities think and how you can leverage and contribute.

Problem: Everyone else appears to be doing open-source contributions, but it doesn’t fit into our company.

Solution: If you find an open source project that is interesting for you or your customers, contribute to that project and make it a better one that is also easier to use within your landscape.

 

Content related to this session, including slides, video and additional learning content can be found here.

0 1
0

comments

142

views

0

rating