Is it possible to include backend datasource plugins (implemented by Golang) into an app plugin? - plugins

Is it possible to include backend datasource plugins (implemented by Golang) into an app plugin?
If yes, how is the typical folder structure of the app plugin including backend datasource plugins?

Related

Eclipse RCP - Support for external plugins (without adding dependencies in main application)

I have an Eclipse RCP Application with a bunch of plugins. I need to distribute it and let people make plugins for it.
Currently, I create new plugin projects with fragments that are integrated into the main application by adding them to the dependencies list of the main application's product file.
What should I do to make the application load plugins which are developed separately?
Thanks

make a standalone independent application out of a dynamic web project in eclipse

So, I've made a dynamic web project in Eclipse.It uses Jsp and servlets. Now I am told to make a standalone independent application for the same. I tried to google as to how it can be done. Most of them pointed me to use Export->Runnable jar file. But on doing so I can't find my dynamic web project in the Launch Configuration. Now how to make the standalone independent application ?
I've done a similar thing using embedded Jetty which means the application jar provides the web service without having to rely on a web server.

Import alfresco project into eclipse

I'm new in Alfresco I have download and installed "alfresco-community-4.2.f-installer-win-x64.exe" and I'm looking if I can import it as an eclipse project
The Alfresco Installer provides everything you need to run Alfresco. Install it, start it, away you go
However, if you want to either write your own Java code to run on Alfresco, or to extend/change Alfresco, it isn't what you need.
To build your own code on top of Alfresco, you'll most likely want the Alfresco SDK. That contains everything you need to:
Develop Alfresco Repository plug-ins such as:
Custom Actions / Conditions
Custom Aspects
Custom Transformers
Develop Applications against a standalone Alfresco server via Alfresco's Web Service API. In this case, the SDK works as a wrapper for the Alfresco API.
Embed Alfresco into existing Applications via Alfresco's Java Foundation API or standards-compliant JCR API
Alternately, if you want to make changes to Alfresco itself, then you'll need to grab the source code for it. The Source Code Wiki Page has the details of how to do that, and the 4.2f code is here
if you are using Maven you can try with Maven Alfresco SDK

Replacing GWT RPC with JBoss Errai

I myself haven't tried JBoss Errai at all, but I am thinking of migrating the server-side services of my current GWT project into a new project that will be now treated as a platform.
The services in the currect project that are accessed via RPC can be commonly used with other projects as "base platform."
So, I am thinking of using using JBoss Errai for this scenario. And so, the new "base" platform project will be non-GWT and that Ajax apps built with GWT will just call into this platform for authentication, storage, etc.
Is this a good approach anyway?
If your project actually runs fine, why would you want to change it? you can instead, integrate the errai framework and when you want to add a new component, you can take advantage of the features of errai ;-)

GWT/Grails Project Structure

Does somebody already have some experience embedding gwt in other
client pages except the standard html file?
I want to use gwt as front end and grails as backend. Communication
should be handled over rest json interface so that is loosely coupled.
How do i structure my project at best? Should I create 2 independend
projects or should I stick them together?
At the beginning I had some problems with debugging my gwt application
as it was part of the grails project. Now I copied the compiled js
script to my webapp folder and included it in a grails page. Debugging
gwt in noserver mode worked ok. The problem is , how do I solve my
deployment later at best as I dont want to copy my js everytime by
hand? Already tried the grails gwt plugin but its difficult to debug the gwt application and I even do not want to use the service stuff provided with the plugin.
I thought its a good idea to have 2 maven modules on for grails and one for gwt. Later 2 war files(one grails, one gwt) will deployed on Tomcat, so I also can change gwt client stuff without deploying grails again. How do i manage the brige from grails to gwt best? Just call the standard html in a div from grails page?
I am using maven for building my project.
Thanks for all your help
I have written 2 posts about this topic. In the first one I show Grails+GWT in the same application, using the Grails Gwt Plugin. It appears you already tried that approach. In the second post, I show how to do it with 2 seperate applications, talking JSON between each other using RequestBuilder to request the grails app (that serves JSON responses).
For The deployment in production, you should have Maven doing this job for you.