Where do you put the libraries(sap.ui.core.js etc.) when downloading OPENUI5 SDK locally - eclipse

I have a SAPUI5 Application developed via Eclipse(Using SAPUI5 Plugins) and now i want to call it to deploy on a Web Server.
But, in eclipse, i downloaded the plugins and libraries through Eclipse->New Software. Now, i want to download all libraries from http://openui5.org/download.html and place it locally.
Now, in eclipse version the code was
<script src="resources/sap-ui-core.js">
Now that i have downloaded the OPENUI5 SDK, where should i put it and how to refer it.

Most probably you will use Tomcat as a web server for testing, see here the basic steps for installation.

Related

I get "Can't find any GWT Modules on this page"

I am trying to set up my eclipse with gwt and after I installed Jdk 8 and eclipse 2019-06 and gwt eclipse plugin 3.0 I created the sample project with code generated and when I try to run the sample code in GWT Development mode it gives me url http://localhost:9876 and when I open it I get "Can't find any GWT Modules on this page" Can you please help why It is giving me Can't find any GWT Modules on this page. I am assuming if I am running it in development mode I don't need to set up web server so I didn't. I didn't used gwt for long time and I am lost why it is giving me this can't find gwt module message when I load the page. Can you please help?
You still need a server, if you want to run any java code on your server. Such as code for talking to your database.
Gwt only does 2 things:
1: is is handling the client side, where it generate javascript from your java code.
2: It includes a .jar file, which can be used together with a java servlet server such as apache tomcat to serialize java objects which can then be send between the client and the server. And this .jar file will serialize all needed objects. And gwt will generate the needed javascript code.
Gwt does not itself include any http server. The address http://localhost:9876 is only used to configure gwt. It is just a page with 2 buttons to turn dev mode on/off.
The eclipse plugin does include a embeded webserver which can be used for gwt development. I have newer done this and I think that installing an independent java tomcat server is the best solution.
But if you want to use the eclipse embeded webserver you need the "Run in development mode with Jetty." - Jetty is the name of the embeded java servlet server.
Are you using the plugin from Google ?
If so, this is outdated. I advice you to use the plugin from branflake. You can find this plugin on GitHub : https://github.com/gwt-plugins/gwt-eclipse-plugin
Also on that GitHub page a lot of documentation is available. Like a link to a very helpfull YouTube playlist: https://www.youtube.com/watch?v=DU7ZQVLR5Zo&list=PLBbgqtDgdc_TqzA-qXrjgTFMC_6DKAQyT
My advice is to watch these YouTube videos to get you started. If you follow them all should be working without a problem.
I haven't used this plugin for a while since I switched to IntelliJ. But I did use it in GWT2.8.2 so it should still work fine.

How to integrate SAP UI5 application to Apache Cordova for Mobile platform

I am trying to integrate SAP UI 5 application to mobile application, for this I am working with Apache Cordova.
Created a sample application in Eclipse Luna which is having SAP UI5 Plugin
Created a sample Apache Cordova Application using Windows CLI
Copied the webcontent files from SAP UI 5 application to www folder of cordova application
Added Android Platform
Build the application
Now while running the app in mobile device, I am getting white blank page. I am not sure what's the problem is ? Can someone help me out.
As per my experience Wherever you built the application doesn't matter.!
You can create an Apache cordova project first then,copy the SAPUI5 Resource folder under www folder with your application files.The Resource folder which will be holding all the libraries which is mandatory to support SAPUI5 controls.
Also keep your Resource folder path in you index.html file in your project.
Then next step you try to build your application using CLI or Command prompt with Cordova standard commands.
I hope this will help you..!
Cheers.

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

I am downloading Eclipse. But what else do I need to develop Java EE applications?

I am downloading this version of Eclipse. I want to know what else I should download and install before I can start working on Java EE applications.
Previously I used to work with NetBeans. Back then, I used to install these:
JRE
JDK
NetBeans
Tomcat
Then I could develop Java EE applications.
Is the same set of steps required when I download that Eclipse too? Or do some of the things come bundled with it? Please help me out with setting up the development environment.
Eclipse doesn't bundle JRE/JDK or app servers. Make sure you download "Eclipse IDE for Java EE Developers" package (as others will not have the plugins you need). You will need to download JDK and Tomcat separately. Note that there is no need to also download a JRE as JDK install has a JRE in it.
Note that Eclipse does have en embedded Jetty server that can be used for previewing your app without a separate app server, but most non-trivial apps still require downloading and installing the specific app server you intend to deploy in production on.
Take a look at the official website:
http://www.oracle.com/technetwork/indexes/downloads/index.html
I had installed my enviroment from these website and work properly, the server is up and running.
Tomcat is a software implementation, you need to install it separately. Take a look at the official tomcat's website at: http://tomcat.apache.org/
If you're working on a web site, my suggestions would be:
JRE/JDK, Apache Tomcat Application Server, Freemarker templating language (for page-building), Apache Web Server (for proxying, rewriting, mod_jk to load balance tomcat worker(s)), Varnish or Squid Cache, MySQL (to host UGC data (user generated content), and some kind of open source CMS system (Drupal or others) to host data that's web site editor created.

Consuming Web Services in Netbeans

I've setup a project in Netbeans 6.5 with some web services that I've created myself and some web services that I've imported from WSDL files. I've setup a couple of desktop application through Netbeans in order to consume these web services. I'm not too sure where to go from here.
I have the GUI setup but not sure how to reference the web services so they can be consumed. I was wondering would anybody be able to guide me through this process or point me in the direction of a relevant tutorial. I'd also like to learn how to consume a web service through a JSP (also created in Netbeans) if possible.
Thanks.
You may find this tutorial useful:
http://netbeans.org/kb/docs/websvc/client.html, but since you are using Netbean 6.5 this may be the correct version:
http://netbeans.org/kb/61/websvc/client.html. As the steps show, it isn't difficult to build a jax-ws client using Netbeans.
But, it depends on what version of Java you are using also, most likely. You may want to download the latest version of jax-ws, if you get errors with your wsdl.
For a JSP, just create a custom tag to call the client.