I have inherited responsibility for an old web application that currently running on JBoss7. I've been tasked with migrating it to Wildfly 9.
I've noticed though the web pages display fine on JBoss 7 but they don't display well when the application runs on Wildfly 9. It seems that most, if not all, of these issues are HTML5 related issues (e.g. table alignments, etc).
But I'm wondering why and how does the server affect what is displayed on the web page? I have the exact same code and display it in the exact same browser (in this case IE11). The only difference is the server. Why would the server affect the web page display?
Related
I want to know the best way to integrate a SAP Design Studio BIP application to a SAPUI5 application.
My scenario in detail is:
My client has humongous amount of data, some millions of records at the most granular level. They cannot display all that data in a Design Studio application so they are using the hybrid path of creating a few pages/views like dashboards in SAP Design Studio and then navigating to a SAPUI5 view to display the most granular level data exposed via HANA XS OData service.
Solution Setup:
Both the applications are on different servers. The Design Studio application is on BO server while the SAPUI5 application is on HANA Server. This is so because the Design Studio on HANA has various limitations (which client says and i am not aware of).
Current Solution:
We have been successfully able to launch the SAPUI5 application from Design Studio views via calling the URL of the SAPUI5 application and then passing the context as URL parameters. Then parsing the parameters and using them in SAPUI5 application.
Current Challenges:
How will the authentication work because now we are entering the credentials separately for every server. Should it be SSO enabled. (and may not work with mobile devices)
Session Time-out issues like a user may have been logged out from Design Studio but the SAPUI5 application with data is already opened in new tab, then should the data be still available or on refresh, it should prompt for login.
Is navigation as done via calling an external URL the best way or do we have some other better option?
I am trying to come up with an optimal workflow for updating my web application running on play framework.
I use the start script to launch it but what is the best practice for updating the code so that it is as seamless as possible for the users?
In an Apache + PHP application often it is sufficient to drop new *.php files in the directory and in many cases the change is not even noticeable for the user.
Could you share your workflow for doing that with play framework?
The play framework is very different from using something like php on apache. Php is interpreted by Apache when a page is requested by a user. So all you need to do is change the file to update the site. With java however (unless you are using .jsp files and even sometimes then) the code is bytwise compiled and the webserver needs to load it and its libraries at start up. What this means is that just replacing newly compiled files will not work. You need to restart the web container or get it to reload the application to pick up the changes. This is always going to be noticeable to any users that try access the site at the same time as the reload is being completed.
You could have a web server (doesn't have to be Apache) that points to your current play installation as a proxy and bring up a new version of it in parallel and then switch your proxy webserver point to your new version and turn the old version off. This is probably the easiest way to do this and could be scripted.
Another way is to just have a web app that redirects the the user to the app and doing a parallel change similar to the one above.
Both of these options require some setup and coding to get them to work seamlessly. However the work is probably worth it as once you have it setup rollouts to production become very easy.
I have to show few offline pages done in MVC. I have the data in SiqoDB on phone. The problem is i need some webserver that will host these offline MVC pages on the phone and fetch data from the db. Any idea on how to do this?
Are you looking for application or for a library to build the server with Xamarin.Android? For a library I can offer our SecureBlackbox, namely its HTTPBlackbox package that contains components for building an HTTP/HTTPS server. These components work on Xamarin.Android .
I know this is similar to other topics, but I've not yet found a satisfactory answer.
I have a GWT / GAEJ application that essentially allows users to interact with the web app as if it were a desktop app. i.e. they login, and use the application in full-html mode (i.e. the GWT app occupies the entire html page). They are typically power users and so don't mind a few seconds dowload / login time when starting to use the app. Typically they might stay logged in for several hours.
I would also like to make available some small subsets of functionality, pointing to the same Back end, as widgets to be included in OTHER existing websites. I know one of the features of GWT is that you can either embed your GWT into existing html pages or go full page.
My question is how do I partition the GWT components into small tidy parcels so that only the relevant bits are downloaded for these embedded 'widgets' whist not having to duplicate my backend code. (for example I could create a new GWT project write only my small widget and copy the server side code - but I really don't want to do this!) Each widget still needs to interact with the same backend so none of them will be stand alone GWT. Communication is GWT-RPC.
anyone done this?
Seems like you want to split your GWT stuff into multiple GWT modules that you want to later combine in possibly more than one project. One way is having a multi-module maven setup (gwt-maven-plugin), there's no need to copy/paste code.
Prefer responses via php or ROR if possible!
Example:
The slide widget at www.slide.com can
be deployed anywhere on the web. But
the slide developers have
centralized edit capabilities to these
widgets. A change to the widget core,
will update across all installed
widgets.
Can this be done with an entire website engine?
Say I coded the Wordpress
engine. Is it possible for me to
deploy my engine on my customers own
servers at their own domain while
still being able to
control/update/edit the core and have
it update all my clients engines.
The main reason is for clients to have ownership of their content and brand. A customer may need to establish his online presence and so he needs his own domain, but he still can pay a service to have his engine professionally managed and upkept.
As far as I can tell the flash objects in the slide.com widgets are hosted on their servers, all that is deployed elsewhere is markup that references the widget similar to embedding a YouTube video. Unless there's something there that I don't see.
There are 2 ways you could do what I think you're asking.
1) You could provide a service that hosts the web application on your servers. The user could point their domain to your server and you would run the application under a virtual host and give them administrator access to the application to brand it. Essentially you would be providing a web hosting service with the application engine pre-installed.
2) You could allow them to deploy it on their servers and provide automatic updates that would download and replace the application files when they are changed in the core. However this would require script write access to every folder where scripts are stored, so it would pose security problems on their server.
Depending on the type of application you could also have much of it deployed as services on your servers, and some type of basic wrapper that is deployed on the customers servers that communicates with your services. You could then centralize all of the business logic and have images and templates and such stored on their servers, and possibly scripts that communicate with their database.