Deployment SAPUI5 Project to SAP NetWeaver JAVA - sapui5

I have already installed SAP NetWeaver Java Application Server to deploy a SAPUI5 project but I already find reference link, but not clear. I also search in SAP web but I don't find the document pdf for deployment SAPUI5 project.
Can you give me link reference or link document SAP for deployment SAPUI5 project in SAP NetWeaver JAVA? I already find some reference but I can't implement because the steps is not clear. Can you give me the solution?

You do it using Netweaver Developer Studio by using an Enterprise Application Project (EAR). Just like any other normal project deployment in NWDS.

Related

Can we place the UI5 code in SAP netweaver server

I am new SAP world, as i know we can save the UI5 code in the GIT or any other VCS (like Subversion).
As ABAP code can we place the UI5 (java script) code in the Server itself? in netweaver server itself?
So that i dont want to have separate code repo.
When you develop UI5 interfaces I assume you use NWDS (SAP Netweaver Developer Studio) for that. In NWDS you
set up DTR (Design Time Repository) server
download development configuration from DTR
develop new functionality in this configuration
In such configuration all your developments will be stored on DTR server. DTR is a standard component of Netweaver landscape, and this is a standard way of landscape organization for team development recommended by SAP. So you upload (check-in) your UI5 code not to Netweaver directly but to Netweaver component called DTR. Hence you don't need any additional versioning systems here and UI5 code is handled as any other code (Java, XML, JS) in Netweaver.
UPDATE:
If you use SAP Web IDE with ABAP stack it allows direct deploy to ABAP UI5 repository.
If you use another IDE for development you can use other options which are described in note 1793771:
SAPUI5 Team Repository Provider Eclipse plugin
ABAP report /UI5/UI5_REPOSITORY_LOAD
There is no need for NWDS, maybe its too oversized for your requirement. You can directly deploy from Eclipse or Web IDE to your SAP Backend Server, therefore you Need ADT (ABAP Developper Tools). The result is a BSP Page in SE80, clean and simple (but: there is no versioning, it is only pushing to the backend).
https://tools.hana.ondemand.com/

Project sharing error in SAP?

Today i installed SAP HANA development plugins which are available at Repo for Eclipse LUNA .
I followed SAP HANA Cloud Platform to create a project and to install tool i followed SAP Development Tools for Eclipse
When i tried to share a project to SAP HANA Repository then it gives error as
Authorization 'REPO.MAINTAIN_NATIVE_PACKAGES' missing for package 'hello' or
one of its parent packages.
How to solve this problem ?
Your admin has to give your SAP Cloud Platform user the proper permissions to do it. In this case the "REPO.MAINTAIN_NATIVE_PACKAGES" permission

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

difficulty in deploying struts 2 application

I am a beginner with struts2 and I have few struts2 projects downloaded from a website, but they all are created as simple java projects and not as web-projects, so I am unable to deploy them on my Tomcat or JBoss AS server through Eclipse.
How can simple java projects be deployed on a Java EE server?
Your best bet is download sample applications from Struts2 official sites and deploy them on any of the server of your choice.
Those sample application comes with all required dependencies as well will give you idea about structuring of S2 application as well flow and configurations
I created a structure similar to the one shown on website and manually added all the files required and it worked.

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.