Skip to main content



      Home
Home » Eclipse Projects » Eclipse Scout » Best Practice Question(Eclipse scout Server)
Best Practice Question [message #1847252] Thu, 21 October 2021 02:44 Go to next message
Eclipse UserFriend
Hello,
I have a question regarding Eclipse scout's best practice, when creating a form aor a view the SDK creates a service behind so if we follow the wizard each view or a form will have its own interface in shared and service in server. My question is :
when we group the services for some forms and views in one service does we make the server performance better ?

How to measure the server time response, is there a tool for this ?

Kind Regards
Re: Best Practice Question [message #1847784 is a reply to message #1847252] Mon, 08 November 2021 04:28 Go to previous messageGo to next message
Eclipse UserFriend
Quote:
when we group the services for some forms and views in one service does we make the server performance better ?


No. All remote calls are handled by the same service tunnel. This means, the call is serialized on the client side and sent to the server as an HTTP call. On the server side, the call is received by the ServiceTunnelServlet (/process) and dispatched the corresponding service. Having more or less service classes does not have any (noticable) impact on performance.

Quote:
How to measure the server time response, is there a tool for this ?


Since it is just HTTP, you can use any proxy-based tool you like. To measure the time in the application itself, you could @Replace the ClientHttpServiceTunnel and override the tunnel() method to measure the time. Scout already has a built-in service called org.eclipse.scout.rt.client.services.common.perf.IPerformanceAnalyzerService that collects some information, maybe that is enough for you?

Regards,
Beat
Re: Best Practice Question [message #1847789 is a reply to message #1847784] Mon, 08 November 2021 08:23 Go to previous message
Eclipse UserFriend
Hello,
Thank you for yor answer, I will check the service.
Kind Regards
Previous Topic:File Drop on a table row no more working ?
Next Topic:User prefererences
Goto Forum:
  


Current Time: Thu Apr 24 20:28:03 EDT 2025

Powered by FUDForum. Page generated in 0.49664 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top