Can we place the UI5 code in SAP netweaver server - sapui5

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/

Related

SAPUI5 Deploying from SAP WEB IDE

We have on-Premise apps deployed through Eclipse to our ABAP repository, with the component-preload file generated using gulp.
Now that we've moved to SAP WEB IDE, which using grunt as opposed to gulp. Can apps be deployed directly to ABAP without eclipse or will it cause conflicts?
we have a similar environment:
WebIDE Full Stack
Gulp
I manually deployed an application to our ABAP Repo. The app works but is not minified.
If you are dropping Eclipse completely and only use the WebIDE you probably won't need gulp and can replace it with the default grunt stuff generated by the WebIDE.

Deployment SAPUI5 Project to SAP NetWeaver JAVA

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.

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 ;-)

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.