Performance Benchmarking of Worklight apps - benchmarking

All,
Is there any tool out there to measure the performance of the Worklight apps with respect to UI navigation and backend(Adapter) connectivity. Is there any performance benchmarks of Worklight apps on real device for a specific use case? What are the various ways we can capture/sense the performance of a Worklight app on real device.

Not at the moment.
I would highly encourage you to write one and put it on Github. I'm sure it would help many people in your situation.
You can also try existing tools (not specific to Worklight) to benchmark servers and clients.

Related

JavaFX2 and Oracle's plans about mobile operating systems

I'm writting diploma work about JavaFX 2.0, and I need some information about further growth of this technology. I thought it will be super-multi-platform, but after googling I little disappointed: there are a lot of problems with iOS and android, also in the roadmap of JavaFX there are information only about desktop OSs... So, can developers expect some progress of technology in mobile direction? Will JavaFX be desktop-oriented or wide-universal technology? Or, maybe, it will be some special branch "Mobile JavaFX2"? If JavaFX don't support mobile phones development, Oracle will haven't modern and competitive technology for this huge area of developing?... I really need some answers! Thanks!)
If you asked the same question three years ago i would say that javafx has a bright future. Same thing for Silverlight and Adobe Air or flex.
Today i would say just a single word... HTML5
Java will always try to find a seat on the client side... Adobe sucks because they abandoned their flex developers few months ago and who says that it will not happen again with Air?... Microsoft still tries to convince us that silverlight is a good tech while on the other side they promote ASP.NET with ajax capabilities as their main weapon.
See how fast the browsers are struggling to comply with HTML5 (future!!!) standards and you will agree with me that the above technologies were born obsolete.
there are a lot of problems with iOS and android
There are no problems but one - iOS and Android are not supported in the current (JavaFX 2.1) version.
can developers expect some progress of technology in mobile direction?
Not until it is in the public roadmap (which it is not today).
Answering your other questions would just be speculation on the part of anybody who does not know Oracle's private plans. If you are interested in speculation, you can find some here.
This is probably not a direct answer to your question, but i hope it might point you in an alternative direction
Adobe air is architectually very simalar to java. It also runs on a vm on multiple platforms such as windows, osx, and ... Android and IOS. And it's gui's are sexy ... Real eye candy. For mobile there are some considerations, but currently it is the best cross platform language for gui building in my opinion. Not for server side though. But it integrates like a dream with a java server by means of blazeDS or LCDS.
I know that apple has restrictions as set out by their terms and conditions that you are not allowed to run your app in a virtual machine. So adobe had to compile the entire air app as a native application that basically includes the entire air framework. My guess is that oracle is facing similar issues, and that is probably why it is taking some time to roll out
Having fxml with the power of the java language, definately something worth while waiting for and looking forward to it.
HTML 5 has no future.. this tool has lot of problems of it's own..HTML 5 can't be used to develop enterprise applications, it is very difficult to code,debug and maintain which is very important for any long term projects on other hand JAVAFX 2 is on the rite track of creating GUI with use of object oriented concepts which makes java developers to easily code,debug and maintain without any hustle..

Silverlight video conference

I am developing a silverlight video conference application which will support multicast. I want to know which technology is best, socket coding or IIS live smooth streaming. The performance is the big issue, Thanks T.
Protocol decision depends on many parameters. For example what are the expectations for latency? Are you looking at true conference experience with <500ms latency or is several seconds latency is fine? How many clients are going to be connected at the same time? Is it internet or intranet?
I can recommend you Ozeki Voip SIP SDK and its webphone solutions. After testing it in Visual Studio 2010 I went on using it. It sounds a bit like sticking to this sdk, but I have experienced that the support team is really good: they have helped me significantly in my work. I found **How to implement web to web video calls using Silverlight camera access? to be a good sample program on their website and think it would be instructive enough for you to start a business application with webphone.
Hopefully I could help you.

What is the Best Development platform for GIS application?

Reviewing a new GIS product development requirement and its in a requirement gathering phase. This application needs to run on a Desktop and some part of the application on a mobile device which then can sync to the desktop or the server. This product will deal with imagery, defining boundaries, analysis using layers, polygons, importing shape files, use GPS logging to define boundaries and application to enter records.
What would be the ideal development environment ? since one of the major requirement is the time-to-market o this product. Heared a lot about ESRI as an ideal mapping tool and Oracle Spatial or SQL Server as the database players. How do I go about analysing the right tools for this development which involved WEB, Desktop application, Mobile platform and server side application? Any ideas from experienced product development folks!
ESRI definitely does provide a lot of good tools. Especially if you have a mobile device requirement, I'd look into ESRI, since I'm not aware of alternatives that are really strong in the mobile world.
(Edit: When I said "mobile" above, I assumed you meant mobile GIS units, like Trimble units. If you really mean doing mobile GIS on stuff like the iPhone, you're probably better off using platform-specific tools. I know Apple have some pretty good toolkits (under NDA IIRC) that you can use to do geospatial apps on the iPhone. I don't know about what the support looks like on other mobile devices.)
On the database end, Oracle Spatial, SQL Server 2008, and PostGIS are all players. If you're using an ESRI solution, however, be aware that ESRI basically positions itself as an end-to-end solution. So any access to your database will likely go through ESRI's ArcSDE layer, which will mean that the unique advantages that the different database platforms may bring to the table will be lost.
In terms of actual map rendering, I haven't found ESRI solutions to be ideal. In particular, a lot of the ArcObjects code has issues in a heavily multithreaded environment, (e.g. rendering many many maps at once) that just aren't there with other rendering solutions. One alternative is to use ESRI solutions for parts of your system (e.g. mobile support, analysis), and use other solutions for other parts.
My own tendency would be to lean toward using open-source tools for as many things as possible. Some tools to look into include:
PostGIS for geospatial database
GDAL/OGR for data conversion
GDAL for pretty much anything imagery related
JTS or GEOS for topology (polygon math, etc.)
MapServer for rendering
OpenLayers for web front-end
Of course, if time-to-market is a key constraint, then one of the major things to think about is what your team already knows. If your team is familiar with ESRI tools and not with open-source alternatives, you might want to go that route simply out of expedience.
And, as MusiGenesis points out, C#/.NET may be a good platform to look into, in addition to all these tools. It is certainly possible to do ArcObjects development with C#, and my experience is that it's a nicer environment for ArcObjects development than straight COM from C++.
If this application is for Windows (desktop) and Windows Mobile, then C#/.Net is an excellent language/platform choice. With Mono, you can also (possibly) cover Mac, Linux and the iPhone as well. Either SQL Server or Oracle would work for the database, although I would go with SQL Server (Oracle, for all its pluses, is just much more of a hassle to deal with).
Since the web component can be ASP.Net, you would have the distinct advantage of having all of your code (even in SQL Server) be C#, so you really only have to be proficient in one language.
I would suggest to take a walk through the stack of projects developed under umbrella of OSGeo Foundation - OSGeo.org. There is a variety of Open Source projects available for various applications, development platforms, etc.

Will plug-ins such as Flash, Silverlight, etc. eventually replace XHTML/CSS/Javascript?

I've been developing with XHTML, CSS and Javascript for about 4 years now.
I love it a lot and hate it a little. I've looked into Flash and Silverlight a bit, but as a developer, I'm not too keen on them.
One reason is that they lock you into a vendor and generally, into using that vendor's tools. E.g. Adobe Flash or Microsoft Visual Studio, etc.
Also, Silverlight seems to mix content, layout/styling and behavior and into a single markup language, whereas I like the XHTML way of separating them out in code, but bringing them together in the user's web browser.
I also applaud the usability of the web, e.g. back button, hyperlinks, etc. which are set-in-stone standards that people are used to dealing with.
However, I'm seeing a lot of industry support for Silverlight and Flash. As far as .NET Developer jobs, I'm seeing less jobs for front-end/.NET developers and more jobs for Silverlight/.NET developers.
Will HTML developers still be employable in the future, or should I consider moving to a proprietary platform such as Silverlight?
While Flash/Silverlight skills may be worth developing, I think you will find that general web development skills will still be required for some years to come. Mobile apps in particular seem to place more emphasis on good, basic web design without dependence on plugins and or client-side code. Eventually, I would expect web standards to evolve to subsume the best (or at least most used) features of proprietary plugins. The web, at least, seems to be a place where people tend to favor solutions that maintain independence over lock-in to specific vendor technologies.
No, I think that idea will never fully catch on. The problem is really about the platform being developed on.
Look at how accessible the web is. Almost any machine can get on the web. My phone, my iPod, my laptop, my 11 year old PII machine, my gaming tower, all can access the same web.
The devices I have are not the limit to what can reach the web either. I think just about every gaming platform and cell phone can get on the web, as well as thin terminals running any OS imaginable. I'm sure there are others also.
The big thing looks like it's going to be the mobile market in the next few years. Some mobile devices can run flash, but it isn't used much because of the poor support & performance. The only way that the mobile web can work is by using pure standards based solutions, because that's really the only baseline that can be trusted to exist.
No matter what proprietary technologies come out, I can always rely on the fact that my XHTML pages will still render successfully on whatever device decides to access it. The same can't be said for flash or silverlight.
At the same time, I can also guarantee you that there will be a bigger market for flash and silverlight because the web is becoming more "media rich" in some niche markets (YouTube, Adobe Air, Hulu, Google Gears, etc. to name a few examples). There will absolutely be a market for it, but I wouldn't say it will defeat XHTML and web standards because the web is constantly being redefined.
No matter how much Flash or Silverlight try to take on, the technology will move so fast that the only baseline that I think will remain will be standards like XHTML and CSS.
Flash has been around for years and still hasn't taken over. I think that is one good example of how hard it is to replace XHTML.
Go for server-side development of any kind, but I wouldn't become a Silverlight or Flash specialist.
<CrystalBallMode>
To be honest I can't see it happening. Other than the reasons mentioned by tvanfosson and DanHerbert, the XHTML + CSS + JS stack just grew mature enough so that things like AJAX and jQuery make pretty much all the lightweight client side stuff easy with these tools (as opposed to things like streaming video, heavy computations or sockets etc.)
Common technological inertia will just guarantee that the existing things will stay around. People are much more likely to use something that has been around for a while and has been extended to meet the latest requirements than to use something totally new. Of course there are great paradigm shifts every now and then like the native to managed code transition but I don't see that happening with Flash or Silverlight.
</CrystalBallMode>
My hope is that what comes out of all of this is a new standardized web platform truly suited to building the web applications that people want to see with tools that developers really want to use. I see all of the effort going to trying to shoehorn these legacy web technologies into the "Web 2.0" model and I just wish that this effort could go towards making a truly revolutionary "Web v.Next".
Don't get me wrong, I really like what jQuery is doing to make Javascript client code easier, but it's still Javascript and my personal preference is to work with strongly typed languages with productive development tools.
In the meantime, I think tools like Silverlight and Flash have a lot to offer and help you do things more easily in some cases than in other web technologies, and there are some things you simply can't do any other way. But I don't think Silverlight or Flash or any other technology is the end game, just a step in the right direction.
Consider for a moment that you can manipulate a web page using Javascript, (X)HTML, and CSS with a great deal of overlap in functionality and yet ALL three technologies remain in prominent use today. The reason for this is because all three languages are different tools meant to solve different problems and no one of them can serve as an adequate replacement for the other.
Its the same thing with Flash / Silverlight vs these existing web technologies. In fact, I work in a dev shop that builds Flash based e-learning. One of our current products was originally built to use a purely Flash-based solution for navigation, etc. However, as the product has continued to evolve we have actually moved a lot of the functionality from the Flash-based e-learning module and into regular html pages.
In other words, I don't think that we'll be abandoning the current tools that web developers use any time soon. For the most part I see Flash / Silverlight as additional tools that will solve particular problems better than we were able to solve them previously.
Neither one is going to win out anytime soon. I expect which one is used will depend entirely on the purpose for many years to come.
The reason you're seeing so many job offerings for Silverlight of late is because it's a relatively new technology and just recently gained some momentum.
Though, I do expect Silverlight to make quick work of Flash.
I sure hope so. And yes, I think they will. There will be some development on legacy (XHTML/CSS/JS) apps for re-tuning purposes, but I think there will come a day when new apps are simply not created on those platforms.
Mobile phones are the issue right now. Flash isn't available on many of the major phone models. And their browsers are all over the map. Luckily there's Webkit (iPhone and G1).
If Silverlight makes it to a web platform then it will be a nice viable alternative to the hodgepodge of technologies that are currently in use. FYI, Microsfoft says Silverlight on Android is very possible. On the iPhone, hard to say, Apple is weird about such things.
AOL recently created a RIA version of it's email client in Silverlight. Looks nice and there's no Javascript errors to worry about. From a developer standpoint, that's huge.

Is NetBiscuits any good?

Has anybody got any real world stories build mobile web sites with NetBiscuits?
Someone told me it was the next big thing in mobile development (http://www.netbiscuits.com/home) and it looks pretty good from their site. Just wondered if anybody (besides them) has actually used it.
From a few months time working with it, I can say that they're indeed one of the best (if not the best) out there. The support is also insanely quick and good.
Only thing making me stop using it is the price. Especially if you're a small company and want to use their POI feature.
However I have yet to find a good replacement. May end up rolling my own version...
Edit: Related question.
They have created an entire xml (bml) based markup language that emulates html that has a very steep learning curve. I would seriously reconsider using it.
I have seen it working nicely. It also supports ASP.NET controls SDK that can be used to write ASP.NET app from Visual Studio. Once this app is deployed on your premise, you can use live bridge agent to connect this app to a Live Bridge server that Net Biscuits hosts. Your app is called a backend app in this case. This is a very useful feature when you do want to have Forms capability in your app and also want it to be accessible on NetBiscuits platform.
Check http://kb.netbiscuits.com/tactile/edc/livebridge_help.html. BiscuitML is also easier to grasp.
Look out for performance issues though. Customers in Australia have had response time issues - probably due to the Cloud Platform being located in USA/UK.

Resources