Protocol Router for Rich Client Front Controller

Hello,
I would like to support multiple client types in my J2EE application - Web Client and Rich Client (Swing Application).
Java BluePrints (Designing Enterprise Applications
with the J2EETM Platform, Second Edition) suggests using a Protocol Router for centralized control in case of supporting multiple client types with multiple controllers - http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/web-tier/web-tier5.html.
I have several doubts with this approach and will appreciate very much any help with clarifying the following:
1) How does a Rich Client communicate to Protocol Router? Using HTTP? That means then that each request/response has to be wrapped in HTTP Request/Response object. It may impact the performance and make the communication between Rich Client and back-end slower.
2) If rich client communicates with Protocol Router through HTTP, what is the difference between Fron Controller for Web Client and for Rich Client?
3) The J2EE Tutorial on the other hand, shows direct connection from Application (Rich) Client to EJB layer - http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Ebank.html.
It will be greatly appreciated to know how would you address the above doubts.
Best Regards.

1) How does a Rich Client communicate to Protocol
Router? Using HTTP? Yes, HTTP . You are right about performance issues. That protocol router seems to me like like overengineering. Anyway, I think a WEB service could be better choice. It's a standart way how to wrap remote requests in HTTP.
2) If rich client communicates with Protocol Router
through HTTP, what is the difference between Fron
Controller for Web Client and for Rich Client?I think the difference is in types of requests. WEB client would request
WEB pages, SWING client doesnt need WEB pages. It would request contents
of list boxes and things like that.
I would suggest you to use EJB's with session facade pattern. Provide WEB service style access to your app. Many app. servers provide feature to expose SLSB as WEB services. Thus you will support almost any types of clients (.NET, Perl, whatever). You can also use WEB service to connect from you'r SWING client. If later you are not satisfied with performance, you can switch to RMI. If you use BusinessDelegate pattern then you will need to change BusinessDelegate only, just one class.
I have written an example EJB based app. which can be accessed by SWING client using RMI or SOAP, WEB client, .NET client and CORBA.
You can get it from:
http://www.datapro.lv/~mariso/ejb.html
feel free to ask questions, if you have any
Maris Orbidans

Similar Messages

  • Can Time Capsule Function as an Internet Router for Wired Clients?

    I have a 1st Generation Time Capsule with three Gigabit Ethernet LAN ports. Currently the Time Capsule is connected to a 12-year old Linksys router which connects with my DSL modem and functions as the router for the Time Capsule and several other wired devices connected to the Linksys Ethernet ports.
    Can I get rid of the Linksys and use the Time Capsule as the Internet gateway and router for the whole network? All the documentation I've been able to find seems ambiguous. For example, a knowledge base article, "Airport Utility 6.x: Connect to the Internet using PPPoE" (http://support.apple.com/kb/PH5099) says "...Time Capsule...uses DHCP and NAT to share that IP connection with computers on your wireless network. (emphasis mine).
    If I can use the Time Capsule as a wired router, and I want to connect more than three wired devices, can I connect them to the Time Capsule via an Ethernet switch?
    Thanks for your help!

    The Time Capsule is both a wired and wireless router, so it can connect to a modem and function as the main router for the network.
    If you do not need the wireless function of the Time Capsule, the wireless radio can be turned off manually once the device has been configured. If you need more Ethernet connections, a 5-port, 8-port, 16-port etc. Ethernet switch can be connected to one of the LAN <-> ports on the Time Capsule.
    If your Linksy is currently configured to connect using PPPoE settings, then the Time Capsule will need to be setup to provide those settings in order to connect to the Internet. Most DSL providers require a user name and password to establish the PPPoE service.

  • Disable the xauth in IOS router for EZVPN client

    I am trying to diable the xauth option and make the authentication by default not the interactive. I have tried using the username option, still its in the xauth interactive mode.Please can anyone help me out in this.

    If possible, Can you post the current configuration from the router. If not, make sure that your configuration looks like the below:
    crypto ipsec client ezvpn EZVPNCLIENT
    connect auto
    group TEST key TEST123
    mode network-extension
    peer 1.1.1.1
    username cisco password cisco
    xauth userid mode local
    Let me know if it helps.
    Regards,
    Arul

  • Webi Rich Client 2-tier Vs 3-tier?

    Could anyone explain what is 2-tier and 3-tier for Rich Client?
    Thank you

    When you login 3-tier will show a web app (j2ee or .net) in the system information, as it must connect to the connection server through the web/app. It will use the XI 3.x servers middleware connection for refreshing report data.
    If you launch it from infoview a file will be created on your local computer called something.extranet and this file will contain the web/app connection information for connecting.
    When using 2 tier connections will be made from the local computer, this requires middle ware to be set up on the workstation(s). Performance will be faster in 2-tier as a benefit. When using 2-tier only a CMS or clustername will be entered in the system.
    Regards,
    Tim

  • Select Query Resutls - operand for WebI Rich Client XI3.0 not available?

    Hi ,
    Using Deski we put a filter condition on a query using the deski query panel.  Also we can select resutls from another query in the same report (query from a differen dataprovider) using the operand Select Query Resutls(any).
    However in Web Intelligence Rich Client for XI3.0 we don't have this operand so we can not filter using results from another query in the same report.
    Does anyone know how to work around this problem?
    Know any plans for this feature ?  As you all know, this is an extremely powerful feature.
    Rgds,

    Minkook,
    Does anyone know how to work around this problem?
    Rich client allows you to import a text or excel file on the fly to your report.  To filter what you have you could build entries into the excel file, import, merge dimensions and voila, have your filtering done.  It does seem dumb to do it this way when a quick filter is all you want.  I'm with you in that the quick filter functionality would be highly desirable.
    Thanks,
    John

  • Change the Default Page Size for WebI Rich Client 4.0

    Hi:
    I am trying to change the default paper size for Webi Rich Client 4.0. 
    In 3.x you made the changes to the defaultconfig.xml located in the path C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\classes\AppletConfig.
    In 4.0 I canu2019t seem to locate the file, can you advise if the file is the same name and where the file located.
    Thanks
    Brad

    Hi,
    Please check out the User Guide - see section Web Intelligence Cascading Style Sheets (CSS)
    http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_ia_en.pdf
    Regards
    H

  • VIP (Virtual IP) on a cluster env  for BOBJ 3.1 and rich client

    All,
    I am in 3.1 where I have an installation with 1 cluster and 2 app server machine behind.
    in order to load balance between the 2 app server I am using some VIP address using some sticky session.
    It works perferctly when i am logging to it thru the infoview However we would like to try the same when trying to login from the rich client.
    is it possible ?
    thanks in advance
    Philippe

    If using WRC in 2-tier then it connects to the CMS and directly to the reporting DB (any DB middleware is configured on the client) so the load balancer doesn't even come into play in this scenario. The WRC can be downloaded from infoview or installed by CD.
    If using WRC in 3-tier (globe shown in the system). Then it should work fine. 3-tier will need an extranet file which contains connection info so it can use the web/app to forward requests using the servers middleware. The connection server needs to be running to connect to the reporting DB.
    To connect in 3-tier verify that you don't have any extranet files in my documents\my business objects documents\locdata on the WRC client. Then open infoview using the URL of your load balancer, and set your webi preferences to use WRC. Select new webi doc (this should create a new extranet file at the above location using the loadbalanced URL. Also needed for this to work are WRC installed (you should be prompted if not) and the connection server running and enabled in the CMC > servers.
    Also see [this doc|http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_web_intelligence_rich_client_en.pdf]
    Regards,
    Tim

  • Evaluating kodo for a thin rich client

    Hi
    We're evaluating our options for persistence on a project. We need a thin
    rich client - thin in terms of logic/smarts and rich in terms of
    UI/usability (swing/swt etc. not html). Before spending time to build a
    prototype, we have some questions.
    1. When using the remote persistence manager, how easy/hard is it to
    traverse relationships i.e. should the traversal be bounded by a
    transaction? We want to avoid transactions on the client side.
    2. We'll be looking to use horizontal mapping for most of our persistence
    capable objects.
    3. What are the issues to look out for when using attach/detach over a
    remote pm
    Thanks
    Srini

    1. When using the remote persistence manager, how easy/hard is it to
    traverse relationships i.e. should the traversal be bounded by a
    transaction? We want to avoid transactions on the client side.Relation traversal is completely transparent. You don't need a transaction.
    2. We'll be looking to use horizontal mapping for most of our persistence
    capable objects.Why?
    3. What are the issues to look out for when using attach/detach over a
    remote pmIf you're using remote PMs, then why would you use attach/detach? There
    are very few reasons that I can think of. Generally, you'd want to use
    one feature or the other. Not both.

  • Enable save for all users in rich client document defaultly for all users

    Hi,
    Is there a option to enable save for all users in a rich client document defaultly for all users across the company. As the users who are creating reports are forgetting to check the box before sending the rich client document to others. Kindly let me know if you have any suggestions on this.
    Thanks,
    Karthik

    I'd suggest that is is where your BO folder structure comes in. You can export from Rich Client to any folder that you have permissions to access - some sort of collaboration folder system would potentially be better and more secure than sending unsecured reports via email. If your IT security team found out that you were removing document security, I doubt they'd be impressed!
    You can't do the default save for all users, simple as that (it's bad practice anyway, which is probably why you can't). While it's not the answer that you want to hear, it is the correct one.

  • Rich client access server for data

    Hi
    I have a Rich client application and it need to access a web server via http protocol to access large amount of data.
    Any idea what is the best way to do this?
    im think of writing some server side code to generate the data object into XML files and then the client can retrieve the file. (either that or a plain text file...)
    Please advise me what is the best/common practice because this is the first time im doing this.
    thx

    XML can be a good idea, but remember that XML can bloat your data because of all the added tag information. so if you are working with large amounts of data, it can become a huge amount of data. Still you can use SAX to parse the XML on the fly in stead of parsing it into one large DOM tree structure first, which at least is efficient in the resources.
    If you can access the data in small parts, a webservice system might be a better, cleaner and more portable solution.

  • Require LOV's should be displayed on single page for Webi Rich Client -R3.0

    Hi all,
    Is there any way to display the list of values in a single page when we apply a quick report level filter in Web intelligence Rich client report.
    Behavior:
    When we have large list of values for an object then the list of values are displayed in pages......
    We can avoid the pages in Webi by making changes to the 'List of value batch size' from 1000 to 10000.
    Is there any setting for displaying  the list of values for Web Intelligence rich client ?
    Please advise....

    Hi,
    I  have checked the view source code. It is having correct details
    for eg..
    SAP Integrated ITS, WebAS: C11, workprocess: 0
    All rights reserved.
    Creation time:  Thu Dec 03 11:10:16 2009
    Charset:        utf-8
    Template:       bbpstart/99/bbpglobal_800.html  -->
      <!-- No session management -->
    I  published the Template again for BBPGLOBAL.
    Only page cannot be displayed is coming.
    There is some link missing between the SRM server and the ITS.
    Can you figure out what it is ? We are stuck
    Regards
    G.Ganesh Kumar

  • Issue with "Drill" & navigation for Web Intelligence Rich client

    Hello,
    I  have created a document by using a local Excel file in Web Intelligence Rich client tool.
    1.Now I want to use "Drill" option to my document...can you please help me in this respect as I am not getting the "Analysis pane" & other standard options(for Drill) that we get for a document created from a Universe?
    2.I have 4 reports in this document. I want to  navigate from the first report to any other reports in the same document by clicking a button or link in the first report.Any idea how to do it?
    Thank you in advance for your help.
    Regards,
    Soumya

    1. have you created any hierarchy in the universe ? after creating required hierarchy, in the webi report you need to enable drill mode.
    2. you can use opendocument url with sReportName parameter. Please check this doc for details: http://help.sap.com/businessobject/product_guides/boexir3/en/xi3-1_url_reporting_opendocument_en.pdf
    But for this you need to export the report to InfoView.

  • Formula for Service or Data base name in (Webi Rich client )

    Hi Exports:
    Iam using s/w  Sap bo 3.1 sp3  .
    Query:
             I need formula to find Service  which,  I am using in Bo
              Where as Deskop Intelligence formula is =”source”&<Database Name >
              I need in Rich Client formula .Could u plz help me
    Thanks ,
    Raghu

    Hi Sujitha,
    thanks for ur quick replay ,your answer was helpfull to me ,but query what iam looking is
    . I need to find service name in Report or formula for Service name
    Thaks&Regards,
    Raghunath

  • How to configure router to use ip pool on the aaa server for vpn clients

    how to configure router to use ip pool on the aaa server for vpn clients . i want to use vpn clients to connect to the router. authenticate using the aaa server username databse and also use the ip pool cretaed on the aaa server. i am not able to find the command on the router pointing to use the pool created on the aaa server. can u some one help me with this command.
    sebastan

    Hello Sebastan,
    what do you use as AAA server (e.g. ACS with TACACS+ or RADIUS) ?
    Regards,
    GNT

  • Some help needed for installation of rich client component runtime demo

    i have dwnld the demo and also read the Instructions
    And while installing it asks jre/java path and my jdk is intalled in this path C:/Program Files/Java/jdk1.6.0_27/bin/
    And i have typed the same path with java.exe at the last but it its says Insert a valid path.
    How can i give the correct path.
    And the another question is that, i have jDeveloper 11g 11.1.1.5.0 installed with Weblogic Server, does the installation package also contains WLS or only the war file?

    Hi Shay,
    the file i downloaded was over 900MB. So i want to know that it contained WLS also or the war file was so big as i have WLS installed. And the compressed archive had two folders named Disk 1 and Disk 2 and the Disk 1 had an exe file and when i run the file a command prompt like windows opens. At this point the path is asked.
    So to directly download the war file i searched google and i got a link to this page
    http://jdevadf.oracle.com/adf-richclient-demo/docs/release.html#Download
    where these file were found
    SHERMAN rcf-dvt-demo.war
    SHERMAN adf-faces-demo.ear
    But i couldn't download these files. or may be they were not available.
    The 900MB file i downloaded is from this link:
    http://www.oracle.com/technetwork/developer-tools/adf/documentation/adf-faces-rc-demo-083799.html
    "Installing the ADF Faces Component Demo
    Download the ADF Faces rich client component runtime demo web archive (WAR) file and store it on the local file system (e.g. c:\rcf-dvt-demo.war). Once Oracle WebLogic Server 10.3 is installed and started, open the WebLogic administration console in a browser window. To access the WLS console, type "http://localhost:7001/console" into the browser address field, assuming that Oracle WebLogic is installed on the local machine with the default port configured at 7001."
    And it forwarded to this page:
    http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html
    As i had jDeveloper 11g 11.1.1.5.0, i downloaded the right version.
    So can you provide the war/ear file directly?

Maybe you are looking for

  • ICal not syncing to computer...

    I'm new to my iPod touch (4th gen). I'm guessing I have a setting off....when I add an event to iCal on my iPod touch and then later hook up (usb) my iPod to my iMac, it will not sync the events I added on the ipod. I checked my .me account and the n

  • How can I see what has been purchased on my iTunes account

    How can I see what has been purchased on my iTunes account and when?

  • Error in data selection of Infopackage

    Hi, My infopackage is failing with "Error in data selection". RSM 340 is the error message number. Datasoucre: 0FI_AP_4 I have checked 1. Timestamp--consistent 2.Reactivated and replicated datasource 3.Checked SM58 in both BW and source systems and f

  • ICal Server invitations not working through Google Apps

    Running Lion Server 10.7.4 – I enable the option to use email addresses for invitations, key in the Gmail user and server settings (same info that works in Mail), and save. Afterward, invite tests that users send do not go to the designated email add

  • How to make a Renderer in just one cell?

    On the JTable, I know how to define the DefaultRenderer, but it gets all the column, I would like to define a Renderer for each cell. Any idea?