I am a newbie in using Ballerina and like to generate pdf files on server side for providing it to the client. Is there a library or a smart way to do that in Ballerina?
Unfortunately Ballerina does not have a such module so far. It would be great if one could implement one and contribute to Ballerina Central.
You can use Ballerina interop to integrate with existing Java library. You can read more about Ballerina interop in this article
Related
I am setting up smartsheet SDK for Java, and running into problems trying to use it in IntelliJ IDEA. I am fairly unfamiliar with setting up decencies, modules, and such in IntelliJ, and am just looking for guidance on setting this up to work with Smartsheet SDK.
I'm currently using the Windows version with JDK13 (I also have JDk12). I've tried downloading the JAR file and pointing to that as a dependency, but it doesn't even understand the imports.
I would start with the Smartsheet Sample App for Java, which will already have the code in it for loading dependencies and libraries. https://github.com/smartsheet-samples/java-read-write-sheet
I am trying to expose ndn-rtc library(https://github.com/remap/ndnrtc) functionality through chromium and having difficulties figuring out what exactly should be done. The library is an external library.
What steps should I go through to add an external library to the chromium source code?
I got a dll file with an extension .nupkg from my .Net developer team mate which I need to use in my java program. How do I go about it? I use intellij.
A nupkg is just a zip file so you should be able to unzip it and see what it contains.
You can also take a look at the JNI (Java Native Interface, google or Wikipedia can tell you more), which lets you call out from Java to other languages. This isn't trivial though.
I tried adding angularJS to Intellij following this guide, but the problem is that I am unable to access Java Script option inside Languages and Frameworks, and therefore I cannot change libraries. Any ideas how to make it appear?
The free edition of IntelliJ does not support Javascript. For that you need to purchase Ultimate.
I am creating Web APIs, in a RESTful manner. Grails of course has good support for creating REST web services. Enunciate claims to help in the API part, where things like documentation, client libraries, etc are important.
The purpose of this post is to invite experiences on using Enunciate with Grails, or ideas on how that can be done.
There are two main issues using them together:
Enunciate works with JAX-RS, not the native implementation of REST by Grails. Thankfully there's a JAX-RS plugin available, but am not sure if Enunciate will be able to work with it.
Grails domain classes are in Groovy while Enunciate works with Java
source code (example).
Enunciate works with both Java source code and Java compiled bytecode to do its work. But if you don't have Java source code, Enunciate won't be able to pull stuff out of your JavaDocs to enhance its generated documentation. Given that, there should (theoretically) be a way to apply Enunciate to compiled Groovy bytecode, but your docs won't be as rich because Enunciate won't be able to see your JavaDoc documentation. I say theoretically because I don't have any personal experience with it nor do I know how painful it is to pull off.
There is an open issue at ENUNCIATE-356 to investigate this complexity. Note that ENUNCIATE-356 depends on ENUNCIATE-584, which might get some more traction soon, being driven by ENUNCIATE-585 as we move from using APT (introduced in Java 5, deprecated in Java 7) to the Javac tool (introduced in Java 6). It would be interesting to know whether the Javac tool supports languages other than Java, in which case we'd get Groovy support for free.