mrc logo mrc logo
  • Explore m-Power Explore m-Power
    What is m-Power?
    Overview Demos Build Process Case Studies Specs Pricing Trial
    What does m-Power build?
    Overview Data Exploration Reporting Business Intelligence Dashboards Mobile Apps ERP Enhancements Modernization Spreadsheets to the web B2B/Web Portals Scheduling Embedded Analytics Web Forms Workflow
  • Services Services
    Overview Training Project Consulting Staff Consulting Mentoring
  • About About
    Overview Partners Press Releases Careers Events Contact Blog
  • Resources Resources
    Overview How-To Videos Webinars & Podcasts White Papers Fact Sheets
  • Support Support
    Support Home FAQ Documentation Customer Portal Enhancements Updates Roadmap Techblog
Try m-Power

m-Power Manual

Browse:

  • Home
  • Deprecated Documentation
  • Interface Upgrade: Watch your Build Process Live!
Back to Manual

Interface Upgrade: Watch Your Build Process Live!

 

Throughout the m-Power Web Interface product life, when you built a web application you were greeted with the "Rolling Dots" progress bar.

While this was useful, we felt it would be much more beneficial for you, as a developer, to know exactly what was happening behind the scenes during your Java Build Process.

Included with the July 24, 2008 update and later, you will be introduced to a new Compilation screen that looks something like this:

After each step verifies, you will be alerted to this by a green "Checkmark".

  • Validate application specifications — This step verifies that you have selected at least one table/field, verifies that you have set up the correct sequencing (based on your application type), and otherwise verifies that your application is ready to begin building. If it fails, you will see a red "X" and explanation as to why it failed.
  • Generate Java source file — This step takes all of your specifications, coupled with your template choice and creates a java file that is 100% open to advanced developer access, if desired.
  • Generate presentation layer — This step is optional. The code generator will create or re-create the screens that are seen to the end user (usually HTML files). If you choose to not overwrite the Presentation Layer (HTML), you will a yellow "!" alerting you that, per your request, this step was skipped.
  • Generate application properties file — This step is optional. The code generator will create or re-create your application properties xml file depending on your choice on the previous screen. If you choose to not overwrite the Application Properties File (XML), you will see a yellow "!" alerting you that, per your request, this step was skipped.
  • Compile Java source into a Java servlet program — This step takes the Java source file created above and will compile it into a series of .class files so it can be interpreted by your application server and seen by your end users.
  • Deploy application to the Application Server — This step finalizes the build process and places all of your newly generated objects into memory (hard disk) and loads the application into your Application Server.

Please see the final screenshot of a completed build process (Note how I chose to not overwrite the Presentation Layer nor the Application Layer).

Note: The Deploy Application to the Application Server has a built in timer delay to allow adequate time for the Application Server to load the new application into memory. This timer can be adjusted to better meet the needs of your setup.

To manually adjust the timer, please open the mrctool.properties file located in /mrcjava/proddata/conf (mrc-Productivity customers) or m-power/proddata/conf (m-Power customers).

Add the following lines to the end of the file:

#Allow 3 seconds to register to server
register_to_server_time=3000

The register to server time is in milliseconds, so in this case 3000 would equate to 3 seconds. If you are still seeing 404 Servlet Invoker is Not Available after compiling an application, it is likely that you need to increase this value.

By default, 3000 milliseconds is the register to server time interval when nothing is set.

After your change, Tomcat will need to be restarted.

Created: July 25, 2008 | Modified: August 27, 2013

Search


Browse By Category

Starting with m-Power (8)
Build Process (13)
Retrievals (10)
Reports (15)
Summaries (4)
Maintainers (17)
m-Power Data Explorer (4)
Graphs (8)
General (24)
Calculations (5)
m-Power Administration (23)
Utilities (9)
Security (11)
Freemarker (6)
m-Painter (29)
Form Validation (5)
External Objects & UDFs (12)
Deprecated Documentation (23)
Bootstrap Templates (7)

Popular Tags

Compiling Dropdowns Data Dictionary Performance Security Bar Graphs Popular Excel Maintainer Application Properties mrc-Productivity Series Calculations Freemarker Production Maintainers Retrievals Report Video Administration Graphs Tomcat Retrieval App Properties Build Process Getting Started Java Advanced RPG Reports Graphing SQL Admin Parameters Summaries Prompt Screens Graph Properties External Objects Dates Email Bootstrap Templates DB2 Form Validation Database m-Painter Record Selections

See all tags »

michaels, ross & cole, ltd. (mrc)
Privacy Settings Privacy Policy Cookie Policy Employee Intranet
© 2018 mrc. All rights reserved.
mrc (US)

2001 Midwest Road
Suite 310
Oak Brook, IL 60523
630-916-0662

mrc (UK)

Mortlake Business Centre
20 Mortlake High Street
London, SW14 8JN
+44-20-335-59566