Baidu bae java environment project deployment and debugging

Source: Internet
Author: User

At first, an application was mounted to a VM, And the VM crashed yesterday morning. I was thinking about migrating to SAES, but I found that the JVM beans consumed by SAES are too fast (PS: I am an intermediate developer, 10000 yundou every month, if any of you can control sae java Beans, please let me know. Thank you.) You can only consider Baidu's BAE.

I have played BAE several times before, but they are all small programs. It's very easy to do whatever you want. Now we are faced with a project that has been running on the VM for three months for migration. It's a headache. You have no idea. First, Baidu and google found a circle and read the experiences written by the experts. And then start to try again ......

After half a day of research, the code was finally migrated. The results are also quite simple .. Next, let's share with you how to avoid any detours when using bae java.

1. First download an eclipse integrated with the BAE Development Environment (you can also install the plug-in)
At the bottom of the pageOne-click InstallationThat is, eclipse. download it to the local directory and unzip it.
Http://developer.baidu.com/wiki/index.php? Title = docs/cplat/ide/install

2. Go to BAE to quickly create a JAVA application

3. Manage the current project, click cloud environment (BAE)-> Version Management
To create a version, enter the version number. For example, enter 1. You do not need to upload the war package. Click Save.

1. The project contains the jar package in the BAE environment. When you add a jar package locally, check whether the jar package you want to add exists. Otherwise, a conflict occurs.

2. JAR is directly added to the lib folder under the project root directory, rather than the lib under the WEB-INF, remember ..

3. bae imposes restrictions on partial classification. For details, refer to the description of BAE.

4. Read the java manual carefully.
Http://developer.baidu.com/wiki/index.php? Title = docs/cplat/rt/java & oldid = 10053

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.