How to install and start using branflake GWT Maps v3 API - eclipse

I'm trying to develop a simple GWT application using the Google Maps API and I'm having trouble understanding how to add the API (https://github.com/branflake2267/GWT-Maps-V3-Api) to my project in Eclipse and start using it.
Any helpful steps are welcomed!

If you already created your Eclipse project and downloaded the "Google Plugin for Eclipse 4.4/4.5/4.6" and the "Google Web Toolkit SDK 2.7.0" (Help --> Install New Software with https://dl.google.com/eclipse/plugin/4.6 as repository) you just have to add the branflake-lib to your project build path. If you use maven you have to add
<!-- GWT Maps API V3 -->
<dependency>
<groupId>com.github.branflake2267</groupId>
<artifactId>gwt-maps-api</artifactId>
<version>3.10.0-alpha-7</version>
</dependency>
to your pom.xml. Otherwise you can just download the library from the branflake Github download page. Keep in mind to add the dependencies (gwt-ajaxloader).
Afterwards you have to add the inherit <inherits name='com.google.gwt.maps.Maps'/> to your modulename.gwt.xml - now you can use the branflake GWT Maps v3 API.
For the rest see the documentations/demos on how to use the API in your project.

Related

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

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.

Web App in Eclipse using Mave

I want to develop a Web App in Eclipse using Maven build tool. Where can I find a good tutorial to develop such kind of app?
Thank you.
For your Kind Information There is no big difference between Normal And Maven application. Generally
1.In normal web application we add jars in lib folder in maven in pom.xml
we add maven dependency instead of adding libs
2.The Projects structure is also changed

Convert Spring MVC template to GAE

Anyone have some template to Transform spring MVC template to run on GAE ?
I already tried different aproaches without success.
Last thing I tried was to add GAE dependency and plugin and criate appengine-web.xml file...
I allways get the message "this project is not a google app engine project"
<dependency>
<groupId>com.google.appengine</groupId>
<artifactId>appengine-api-1.0-sdk</artifactId>
<version>1.9.14</version>
</dependency>
<plugin>
<groupId>com.google.appengine</groupId>
<artifactId>appengine-maven-plugin</artifactId>
<version>1.9.14</version>
</plugin>
Spring and Google App Engine can be made to work together however the structure of a Google App Engine Java Project is very different from the standard Spring or Java Web Project.
If you want to use Maven with Google App Engine I'd suggest copying one of the example/template archetypes and adding the Spring libraries to the project. I've had much greater success with doing it this way. However I have opted not to use Maven with Google App Engine and Spring because the latest version of Spring does not play well with Google App Engine.
The easiest option is to start from a Maven Archetype that contains the key components you want. If you want to progress without Maven you can create a standard Google App Engine project in Eclipse and incorporate the Spring libraries.
Word of warning. Follow the instructions linked below else you'll end up with an application that takes a very long time to start up instances. Due to the way Spring autowires it can take a minute or more for an application to start when deployed to App Engine without correct configuration.
Best of luck!
Read More:
https://cloud.google.com/appengine/docs/java/tools/maven
https://cloud.google.com/appengine/articles/spring_optimization

How can I add JSF project facet to Google App Engine project

I can't seem to add the JSF project facet to my GAE project in Eclipse.
It states that it requires Dynamic Web Module 2.5+ but it is not even an option with this project.
You could try installing Jboss Tools first from Eclipse Marketplace

Error compiling Web app using GWT in eclipse

I am following a tutorial to make a very simple demo app using GWT with eclipse ee.
I created a Web Application using steps: select File > New > Web Application Project. From the Eclipse menu, accepted defaults, unchecked use Google App Engine SDK & Generate GWT project sample code. Run it by Debug As > Web Application. It raises this error:
Missing required argument 'module[s]'
Google Web Toolkit 2.2.0
..................................................................................................................................................................
and
module[s] Specifies the name(s) of the module(s) to host
If you don't want to generate sample code, you have to create the gwt xml module (MyProject.gwt.xml), because eclipse doesn't generate this automatically.