Documentation for programming languages supported by IBM Db2? - db2

What programming languages are supported by Db2? I know it supports JavaScript and other latest languages. But this link is not up to date: https://www.ibm.com/support/knowledgecenter/en/SSEPGG_9.5.0/com.ibm.db2.luw.apdv.gs.doc/doc/r0023434.html

In the documentation, the IBM Db2 Knowledge Center, is a version selector. You referenced version 9.5 which is just old and unsupported since years.
Here is the section on Application Development for Db2 Version 11. In the table of contents on the left is a long list of programming languages with sections on how to install the drivers and with code samples.

Related

RPGLE opcodes - operating systems compatibility

I'd like to know where to find a "table" that lets me know if a specific opcode is compatible with a specific version of the IBMi O.S.
Example:
LEAVESR introduced in V4R4
Is there anything like this?
This may be of use to you. This page is a list of operation codes available to the RPG compiler in IBM i 7.3. There is a dropdown towards the top that let's you select a different OS version.
This would allow you to compare operation codes between OS versions.
You can also use this What's New page to see every version back to V3R2.
I'm not aware of anything quite as specific as your question, but all elements are documented in a similar way in the ILE RPG Reference manual. The link is for ILE RPG for IBM i 7.3, but earlier releases have the same section according to the release. So, having just the latest gives you essentially the complete list of changes for all releases.
If you download a .PDF every few versions/releases, you can have a full history of "What's New" even if some future release truncates the section. If you think over the latest section, it should become clear that just having new op-codes isn't totally sufficient.

Jasperreports community version doesnt allow interactive reports?

I am using jasperreports-server-5.1.1 , and i am using the REST api to integrate jasperreports with my app.
The api for running reports mentions the parameter "interactive=true", but also mentions - "In a commercial editions of the server where HighCharts are used in the report,
this property determines whether the JavaScript necessary for interaction is
generated when exporting to HTML." .... which i interpret as "only available with commercial edition". Am i right ?
Also, pagination doesnt work.... so is it also allowed only on, commercial edition ?
thanks
As far as I know the ad-hoc reporting component is only available in the Pro version (i.e. commercial edition). The community edition is really just a teaser but not really useful for production environments. Did you have a look at ReportServer? It's completely open source, allows you to execute Jasper Reports (and Eclipse Birt if you want) and comes with powerful ad-hoc reporting capabilities.

languages supported by lucene.net

-What all languages supported by Lucene.net?
-For eg. chinese,russian,japanese,arabic,french,german etc.
-If not, is there is any way to index other languages?
Lucene is not limited to English, nor any other language. To index text properly, you need to use an Analyzer appropriate for the language of the text you are indexing. Lucene's default Analyzers work well for English. There are a number of other Analyzers in Lucene Sandbox, including those for Chinese, Japanese, and Korean.
Here is a list of analyzer which you can integrated with your Lucene.NET:
https://svn.apache.org/repos/asf/incubator/lucene.net/trunk/src/contrib/Analyzers/
As you can see above lots of language are already included in the analyzers and if not included, go ahead and create it because if it is not listed only means, no one tried it yet, however it does not mean it is not supported.
Also read this SO discussion on Indexing multi-lingual content with Lucene.net
Here is the latest version.
https://lucene.apache.org/core/8_3_1/analyzers-common/index.html
Google the latest version of Lucene and change the version number in the link for the latest versions in time of your search.

What is the difference between Java Deployment Toolkit Plug-in and deployJava.js?

I was reading this article:
http://www.java.com/en/download/faq/deployment_toolkit.xml
and I get confused about the purpose and use of the DT Plug-in and the deployJava.js.
I always believe that the Deployment Toolkit is the set of functions of the deployJava.js file (like this link says: http://blogs.oracle.com/thejavatutorials/entry/deployment_toolkit_101) but according to the article there are two parts of the Deployment Toolkit: the Plug-in and the interface for the developer.
I'm asking about all of this because the deployJava.js fails to detect the appropriate version of Java in some of the machines of our users and I was wondering if the DT Plug-in could help us improve the detection, but I don't know how exactly it detects the Java version and when it does it or how can I use it to solve detection problems?
Most of this doubts are driven by the question in the article:
"Does deployJava.js work if the Java DT Toolkit plug-in is disabled?
Yes, deployJava.js contains some pure JavaScript functions, which will continue to work even if the Java DT Toolkit plug-in is disabled."
So... why do I need the deployJava.js if the DT Plug-in exists or vice versa?
Any help on this matter would be very appreciated.
Thank you very much.
If anyone has doubts about it, I've posted this question in the oracle forum and this was the reply:
Deployment toolkit is combination of native library and javascript
helpers. javascript is the only official public API to native library.
JRE is installed with DT native library that is left on the system if
JRE is uninstalled. As of now DT native library is only available on
Windows.
Javascript helper functions use native library if it is available but
many actions can be performed (with degraded accuracy, etc.) even if
native library is not present.
Note that there is new Javascript APIs for DT as alternative to
deployJava.js. it is called
[dtjava.js|http://download.oracle.com/javafx/2.0/deployment/deployment_toolkit.htm#BABJHEJA]
and is primary API for JavaFX applications. However, it also supports
pure Java apps and likely will be main JS API for DT going forward
(some more testing and bug fixing may be needed).
Hope this helps to clarify the relationship.
Thxs to igor
Link to oracle post: https://forums.oracle.com/forums/message.jspa?messageID=9932788#9932788

Scala Backward Compatibility

What changes or code evolution break backward compatibility (mainly binary compatibility)? Is it fully specified anywhere?
I checked the Scala language specification, but didn't see any section on the matter like Java Language Specification Ch. 13 Binary Compatibility.
According to the mailing list, the spec documenting detailing backward compatibility issues does not yet exist but is in the works.
For current status and oulook of binary compatibility (mainly of the scala library), see Martin's message to scala-user mailing list.
For a migration manager preview, see this page http://typesafe.com/technology/migration-manager.
I've added support for Scala to the japi-compliance-checker tool (1.6 version). So now you can identify breaking changes in your code automatically. The tool is available here: https://github.com/lvc/japi-compliance-checker
Sample usage:
japi-compliance-checker OLD.jar NEW.jar
Also I've created a page with analysis reports for Scala versions evolution generated by this tool as an example: http://abi-laboratory.pro/java/tracker/timeline/scala/