Calling my cuba application from another application

Hi,
I need to call my cuba application from a JSP page (another application) through an URL . The jsp page will have some inputs which will pe passed to my cuba application . Also i need to skip the login screen and show only the required screen. Can anyone help?

Someone help please

Patience, grasshopper. The people that post here are located all over the world; who knows what time it is where they are when you post!

Also, most of us are just here because we love the platform. (read: we’re volunteers).

I don’t know the answer to this one but I’m sure someone else does and will likely post soon.

2 Likes

The best way to call your CUBA application from any other application is to use the built-in REST API. Just expose your methods through the REST API and this way you can call your CUBA application from your JSP application.

2 Likes

The question is not very specific, but in general it can be easily implemented.
Any CUBA-based application screen can be accessed by URL. In the URL you can pass your parameters for this screen. This is described in sufficient detail in the documentation.

If you meant anonymous access - yes, this is possible since platform 7.1.
In the application, you can configure a list of screens that are accessible to an anonymous user without the need for a login.

You may need some other cuba-app integration scenario with another app.
You can probably use the REST API to access the CUBA app.

1 Like