Speed Tracer Server side Tracing for GWT - java

Is the speed tracer server side tracing reserved for applications on the GAE, because i am checking http://code.google.com/webtoolkit/speedtracer/server-side-tracing.html and it only talks about the GAE, but I wanted to use it locally without the GAE.

Locally it is available as part of SpringSource tc Server
Developer edition is available free of charge as part of the SpringSource Tool Suite or as a separate download
http://www.springsource.com/developer/tcserver
http://static.springsource.com/projects/tc-server/2.0/devedition/html/ch04s04.html

This blog post shows how speed tracer works behind the scenes and includes code that feeds Rails timing information back into the speed tracer UI:
http://www.igvita.com/2010/07/19/speed-tracer-server-side-tracing-with-rack/

Related

Integrating Apache Tomcat web server with Microsoft Visual Studio .net framework

I am currently part of a team working on developing a Telemetry monitoring application. Since I am an Oracle Associate, I have been tasked with setting up an Oracle database at the back end and integrating it with an Apache-Tomcat Webserver that will display a log of all entries/transactions being conducted in the Oracle Database. The software application will be used to retrieve and display all data (logs/entries etc) from the Data Engine (the Apache Tomcat webservice)
The problem is that our programming team intends to develop the software application in C# on Microsoft Visual studio which is confusing to me because while going through on-line documentation regarding integration of Apache-Tomcat web server with oracle database, I have come to understand that the Apache-Tomcat web service only works with Java applications and Java supported IDEs like eclipse (the documentation mostly details integration with reference to Java Servlets and JSPs)
Does that mean that I should:
A) request the programming team to change from Microsoft .net framework and Visual Studio to Java and Eclipse IDE so that there are no compatibility issues with Apache-Tomcat webserver
B) work with an alternate web server which is compatible with Microsoft Visual Studio, C# and the .net environment
C) Is there some kind of work around that will allow application development to proceed in C# and .net framework while still allowing us to use Apache Tomcat web servers?
Apache Tomcat is a Java application server for deploying Java Servlet-based web applications. I'm sure there is a way to get .NET applications to run from it, but since you are starting from scratch, I would avoid doing that. Either switch application servers or switch implementation technologies.
Or, perhaps I am misunderstanding your architecture. Are you intending to build a Java-based service that runs on Apache Tomcat, and a separate standalone application that contacts this service to fetch its information? If so, there's no problem, as long as the protocol for communicating between the two applications is well-defined (e.g. REST, XML-over-HTTP, SOAP, etc.).
It would be perfectly reasonable to write a Java-based service and then connect to it from any number of applications written using any combinations of technologies.
But don't try to deploy a .NET-based web application on Tomcat. You'll just be wasting a huge amount of time for no good reason.

Set up web services based environment (advice/tips to start)

I am a bit lost because it's my first time assuming this role for a project.
We are making a software which consists in an app developed in Phonegap (for making a service oriented architecture, to make multiplatform easier).
The Phonegap app (and also the admin web) will be consuming constantly web services (every functionality is a service), and is my task to set up and environment to publish the API with the different services. I have heard about JAX-RS and also Spring MVC (I prefer this last option, because the good integration with Tomcat, and knowledge on the framework).
I have more or less clear the architecture (Tomcat+Spring+WebServices), but I am not sure how to start, because of the integration with the mobile app. I obviously want to develop with Java in the server side.
Any advice to start or related?
Thanks too much to all.
I would suggest you go for Apache CXF support for Rest Service.You can deploy the same in a tomcat server.I will suggest you to read the following URLs for better understanding:
http://www.dreamsyssoft.com/blog/blog.php?/archives/7-Simple-JAX-RS-Web-Service-in-Java-with-Spring-and-CXF.html
http://cxf.apache.org/docs/restful-services.html
Hope this helps.

New Relic cpu usage Heroku app

I have simple Java EE app on Heroku. I tested this app via JMeter. And now I need measure server statistic. The most important for me is server CPU usage. I installed New Relic plugin by instructions, chapter "Add the New Relic agent as a Maven dependency". Now I examine my app in section "Applications" (categories Monitoring, Events, Reports, Settings). I need measure server CPU usage during generate requests by JMeter. Which graph or statistic is best for this purpouse. For example:
OR
OR
OR another statistic or graph is most suitable for CPU usage analysis? Thanks
New Relic can report on application server resource utilization through the application agent since the app is aware of those metrics. However, because of the unique infrastructure of the Heroku hosting platform, it is not currently possible to collect any further server metrics other than memory and load.
Please consult these docs for further info:
NR Instances Tab: http://blog.newrelic.com/2013/03/07/new-relics-instances-tab/
Heroku Runtime Metrics: https://devcenter.heroku.com/articles/log-runtime-metrics

Suggestion GWT High Scale Application Server

Currently I am working on a Large Scale Application which uses GWT with Hibenate. We are facing some performance issues with existing Jetty / Tomcat server. And we want a another server that handles hibernate queries and GWT both perfectly.
Problem with tomcat is it sometimes stops responding GWT requests, and client hangs up on some points.
There are certain servers that comes in my mind like :
GlassFish
Jboss
IBM WebSphere AS
etc.
Please suggest some high scale server that handles GWT RPC request well and can run in multi-client environment well. We are expecting 100 concurrent users, Hardware is not an issue.
Thanking You,
Regards,
I think that your problem is not related to Tomcat or Hibernate. Your application should have scalebility problem. I do suggest you to investigate your application before investing to a fancy application server.

How/where to deploy my webapp on my own server?

I have a built small web app using Java/J2ee. I want to host it myself in my own servers (I have none now). I have already downloaded Ubuntu Server OS. I prefer to host my app on my own servers (preferably using Linux, Apache and MySQL) rather than google app engine or any other hosting service?
Can some one guide me to look for server
hardware?
Where should I buy them?
What sort of things I should look
for in webserver hardware?
Which is cheaper, hosting on 3rd party
servers or our own servers?
Can you provide some links where I can learn about creating webapps and hosting on our own servers?
The software you list can run on virtually any computer hardware, your requirements and intended use/target audience would be the starting point to assess what kind of hardware you need for scalability.
If it's for learning purposes or development just run it on your own pc or get the cheapest hosting account you can find.
Additional info needed to properly suggest anything.
If you want to host app for testing/trial purposes, go for for google app engine or 3rd party cheap shared hosting. If you are looking for reliable hosting or dedicated server, it is better to go for grid hosting providers such as media temple.
I would not suggest hosting app on your own servers. Running own servers is overhead and comes along with its own set of maintenance problems. Instead going for reliable hosting provider is a smart move.
Some of web hosting providers you can look for..
MediaTemple ( Highly recommended )
GoDaddy
Blue Host
DreamHost
You might want to see if you can get hold of a copy of Professional Apache Tomcat 6 , which gives good advice on administering Apache (both web-server, and tomcat).

Categories