Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Best Practice Question(Eclipse scout Server)
Best Practice Question [message #1847252] Thu, 21 October 2021 06:44 Go to next message
Oueslati Anis is currently offline Oueslati AnisFriend
Messages: 134
Registered: June 2014
Location: Paris
Senior Member
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 09:28 Go to previous messageGo to next message
Beat Schwarzentrub is currently offline Beat SchwarzentrubFriend
Messages: 214
Registered: November 2010
Senior Member
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 13:23 Go to previous message
Oueslati Anis is currently offline Oueslati AnisFriend
Messages: 134
Registered: June 2014
Location: Paris
Senior Member
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: Fri Dec 06 05:35:34 GMT 2024

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

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

Back to the top