{"id":42899,"date":"2024-06-03T10:18:16","date_gmt":"2024-06-03T10:18:16","guid":{"rendered":"https:\/\/accuweb.cloud\/resource\/?post_type=faq&#038;p=42899"},"modified":"2026-02-19T04:26:34","modified_gmt":"2026-02-19T04:26:34","slug":"remote-access-ejb-on-glassfish","status":"publish","type":"faq","link":"https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish","title":{"rendered":"Accessing EJB Remotely on GlassFish"},"content":{"rendered":"<h2 class=\"ack-h2\">Accessing EJB Remotely on GlassFish<\/h2>\n<p><strong>Enterprise Java Beans (EJB)<\/strong> is a part of the Java EE server-side architecture. EJBs have two types of client views: remote and local. Your Java application may need session and entity beans with either local or remote interfaces.<\/p>\n<p>Let&#8217;s look at the differences between these interfaces and decide which one to use.<\/p>\n<p>If you know that other clients and EJBs will access your bean within the same <strong>Java Virtual Machine (JVM)<\/strong>, you should use a local client view. This is also suitable if your beans interact with each other. Local access involves direct method calls rather than remote method invocation (RMI).<\/p>\n<p>However, if your client is on a different JVM and you want to use your bean in a distributed environment, you need to use the remote client view. Calls from remote interfaces are handled through this view. It is also better to use the remote client view when dealing with parameters passed by value between the client application and the bean.<\/p>\n<p>Now, let&#8217;s see how to deploy a Java Bean to AccuWeb.Cloud and use the EJB remote client to work with it.<\/p>\n<h2 class=\"ack-h2\">Create an Environment<\/h2>\n<p><strong>Step 1.<\/strong> Log in to your AccuWeb.Cloud account.<\/p>\n<p><strong>Step 2.<\/strong> Click the <strong>&#8220;Create environment&#8221; <\/strong>button to open the environment setup wizard.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-01.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-42906 size-full\" title=\"Create environment\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-01.png\" alt=\"Create environment\" width=\"992\" height=\"269\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-01.png 992w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-01-300x81.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-01-768x208.png 768w\" sizes=\"(max-width: 992px) 100vw, 992px\" \/><\/a><\/p>\n<p>Choose GlassFish as your application server and set cloudlet limits based on your application&#8217;s resource needs. Enable the <a class=\"ack-link-color\" href=\"https:\/\/accuweb.cloud\/resource\/articles\/attach-public-ip\/\" target=\"_blank\" rel=\"noopener\">Public IP<\/a> for GlassFish, name your environment, and click <a class=\"ack-link-color\" href=\"https:\/\/accuweb.cloud\/resource\/articles\/creating-and-managing-environment\/\" target=\"_blank\" rel=\"noopener\">&#8220;Create.&#8221;<\/a><\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-02-1.png\"><img decoding=\"async\" class=\"ack-article-image aligncenter wp-image-42900 size-full\" title=\"Public IP\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-02-1.png\" alt=\"Public IP\" width=\"980\" height=\"606\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-02-1.png 980w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-02-1-300x186.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-02-1-768x475.png 768w\" sizes=\"(max-width: 980px) 100vw, 980px\" \/><\/a><\/p>\n<p>Wait about a minute for your environment to be created.<\/p>\n<p><strong>Step 3.<\/strong> To find the Public IP of your GlassFish server, click the arrow next to the node server.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-03.png\"><img decoding=\"async\" class=\"ack-article-image aligncenter wp-image-42905 size-full\" title=\"Public IP Location\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-03.png\" alt=\"Public IP Location\" width=\"1000\" height=\"458\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-03.png 1000w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-03-300x137.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-03-768x352.png 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/a><\/p>\n<h2 class=\"ack-h2\">Create the Application<\/h2>\n<p><strong>Step 1.<\/strong> First, create a new directory to store your EJB and client application files.<\/p>\n<p><strong>Step 2.<\/strong> Next, create your Session Bean. This bean will be used by the remote client app to perform business tasks on the server.<\/p>\n<div class=\"article-space\"><\/div>\n<pre><code class=\"language-javascript\">\r\npackage com;\r\nimport javax.ejb.Stateless;\r\n@Stateless\r\npublic class EJBTest implements EJBTestRemote {\r\n@Override\r\npublic String getName(String name) {\r\nreturn \"name is: \" + name;\r\n}\r\n}<\/code><\/pre>\n<div class=\"article-space\"><\/div>\n<p><strong>Step 3.<\/strong> Now, create the Enterprise Java Beans interface. This interface is necessary for the remote client to access the beans.<\/p>\n<div class=\"article-space\"><\/div>\n<pre><code class=\"language-javascript\">\r\npackage com;\r\nimport javax.ejb.Remote;\r\npublic interface EJBTestRemote {\r\npublic String getName(String name);\r\n}<\/code><\/pre>\n<div class=\"article-space\"><\/div>\n<p><strong>Step 4.<\/strong> Build a new module and package it into a file with the .ear extension.<\/p>\n<p><strong>Step 5.<\/strong> Here is an example of a remote client application. This application connects to your EJB through the Public IP of the GlassFish server and calls the getName() method, which returns data to the client.<\/p>\n<div class=\"article-space\"><\/div>\n<pre><code class=\"language-javascript\">\r\npackage ejbclient;\r\nimport com.EJBTestRemote;\r\nimport java.util.Properties;\r\nimport java.util.logging.Level;\r\nimport java.util.logging.Logger;\r\nimport javax.naming.InitialContext;\r\nimport javax.naming.NamingException;\r\npublic class Main {\r\nprivate static InitialContext ic;\r\npublic void loadProperties(String h, String p) {\r\ntry {\r\nProperties props = new Properties();\r\nSystem.out.println(\"h: \" + h + \" p: \" + p);\r\nprops.setProperty(\"java.naming.factory.initial\",\r\n\"com.sun.enterprise.naming.SerialInitContextFactory\");\r\nprops.setProperty(\"java.naming.factory.url.pkgs\",\r\n\"com.sun.enterprise.naming\");\r\nprops.setProperty(\"java.naming.factory.state\",\r\n\"com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl\");\r\nprops.setProperty(\"org.omg.CORBA.ORBInitialHost\", h);\r\nprops.setProperty(\"org.omg.CORBA.ORBInitialPort\", p);\r\nic = new InitialContext(props);\r\n} catch (NamingException ex) {\r\nLogger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);\r\n}\r\n}\r\npublic static void main(String[] args) {\r\ntry {\r\nnew Main().loadProperties(\"{GlassFish_Public_IP}\", \"23700\");\r\nEJBTestRemote etr = (EJBTestRemote) ic.lookup(\"com.EJBTestRemote\");\r\nSystem.out.println(etr.getName(\"Jelastic\"));\r\n} catch (NamingException ex) {\r\n}\r\n}\r\n}<\/code><\/pre>\n<div class=\"article-extra-space\"><\/div>\n<div class=\"ack-formula\"><strong>Note:<\/strong> Port numbers start with an additional two digits because the platform works with gfcluster.<\/div>\n<div class=\"article-space\"><\/div>\n<p>You can use this package as an example of a .ear file.<\/p>\n<h2 class=\"ack-h2\">Deploy the Application<\/h2>\n<p><strong>Step 1. <\/strong>Go to the Accuweb.cloud dashboard, open the Deployment Manager, and upload the .ear file you created.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-05.png\"><img loading=\"lazy\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-42903 size-full\" title=\"Deployment Manager\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-05.png\" alt=\"Deployment Manager\" width=\"992\" height=\"309\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-05.png 992w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-05-300x93.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-05-768x239.png 768w\" sizes=\"(max-width: 992px) 100vw, 992px\" \/><\/a><\/p>\n<p><strong>Step 2.<\/strong> Deploy the uploaded package to the GlassFish environment you set up in Step A.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-06.png\"><img loading=\"lazy\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-42902 size-full\" title=\"Deploy to Created Environment\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-06.png\" alt=\"Deploy to Created Environment\" width=\"936\" height=\"452\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-06.png 936w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-06-300x145.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-06-768x371.png 768w\" sizes=\"(max-width: 936px) 100vw, 936px\" \/><\/a><\/p>\n<p><strong>Step 3.<\/strong> Run your application by clicking the <strong>&#8220;Open in browser&#8221;<\/strong> button next to the environment and check the results.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-07.png\"><img loading=\"lazy\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-42901 size-full\" title=\"Open in Browser\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-07.png\" alt=\"Open in Browser\" width=\"994\" height=\"386\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-07.png 994w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-07-300x116.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/06\/EJB-on-GlassFish-07-768x298.png 768w\" sizes=\"(max-width: 994px) 100vw, 994px\" \/><\/a><\/p>\n<p>I hope this tutorial on using remote interfaces was helpful. Enjoy!<\/p>\n<div class=\"cta-btn-top-space\"><\/div>\n\t\t<div data-elementor-type=\"section\" data-elementor-id=\"38668\" class=\"elementor elementor-38668\" data-elementor-settings=\"{&quot;ha_cmc_init_switcher&quot;:&quot;no&quot;}\" data-elementor-post-type=\"elementor_library\">\n\t\t\t        <section class=\"elementor-section elementor-top-section elementor-element elementor-element-882321f elementor-section-boxed elementor-section-height-default elementor-section-height-default ct-header-fixed-none ct-row-max-none\" data-id=\"882321f\" data-element_type=\"section\" data-settings=\"{&quot;_ha_eqh_enable&quot;:false}\">\n            \n                        <div class=\"elementor-container elementor-column-gap-default \">\n                    <div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7cc79cc\" data-id=\"7cc79cc\" data-element_type=\"column\">\n        <div class=\"elementor-widget-wrap elementor-element-populated\">\n                    \n        \t\t<div class=\"elementor-element elementor-element-e31b40f elementor-widget elementor-widget-shortcode\" data-id=\"e31b40f\" data-element_type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t            <\/div>\n        <\/div>\n                    <\/div>\n        <\/section>\n        \t\t<\/div>\n\t\t\n<div class=\"cta-btn-bottom-space\"><\/div>\n","protected":false},"author":1,"featured_media":52879,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","class_list":["post-42899","faq","type-faq","status-publish","has-post-thumbnail","hentry","faq_topics-java","faq_topics-java-apps-specifications","faq_topics-kb","faq_topics-product-documentation","faq_topics-remote-access-to-ejb-on-glassfish"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.10 (Yoast SEO v24.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Remote Access EJB on GlassFish | AccuWeb.Cloud Guide<\/title>\n<meta name=\"description\" content=\"Deploying EJB remotely on GlassFish. Discover best practices for utilizing remote client views and optimizing EJB performance.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Accessing EJB Remotely on GlassFish\" \/>\n<meta property=\"og:description\" content=\"Deploying EJB remotely on GlassFish. Discover best practices for utilizing remote client views and optimizing EJB performance.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish\" \/>\n<meta property=\"og:site_name\" content=\"AccuWeb Cloud\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-19T04:26:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish#article\",\"isPartOf\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish\"},\"author\":{\"name\":\"Jilesh Patadiya\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/a7a4cbe8405202b537509c757b588c58\"},\"headline\":\"Accessing EJB Remotely on GlassFish\",\"datePublished\":\"2024-06-03T10:18:16+00:00\",\"dateModified\":\"2026-02-19T04:26:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish\"},\"wordCount\":481,\"publisher\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/#organization\"},\"image\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish#primaryimage\"},\"thumbnailUrl\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg\",\"inLanguage\":\"en-US\"},{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish\",\"url\":\"https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish\",\"name\":\"Remote Access EJB on GlassFish | AccuWeb.Cloud Guide\",\"isPartOf\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish#primaryimage\"},\"image\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish#primaryimage\"},\"thumbnailUrl\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg\",\"datePublished\":\"2024-06-03T10:18:16+00:00\",\"dateModified\":\"2026-02-19T04:26:34+00:00\",\"description\":\"Deploying EJB remotely on GlassFish. Discover best practices for utilizing remote client views and optimizing EJB performance.\",\"breadcrumb\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish#primaryimage\",\"url\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg\",\"contentUrl\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg\",\"width\":1280,\"height\":720},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/accuweb.cloud\/resource\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Accessing EJB Remotely on GlassFish\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#website\",\"url\":\"https:\/\/accuweb.cloud\/resource\/\",\"name\":\"AccuWeb Cloud\",\"description\":\"Cutting Edge Cloud Computing\",\"publisher\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/accuweb.cloud\/resource\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#organization\",\"name\":\"AccuWeb.Cloud\",\"url\":\"https:\/\/accuweb.cloud\/resource\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/04\/accuwebcloud_logo_black_tagline.jpg\",\"contentUrl\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/04\/accuwebcloud_logo_black_tagline.jpg\",\"width\":156,\"height\":87,\"caption\":\"AccuWeb.Cloud\"},\"image\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/a7a4cbe8405202b537509c757b588c58\",\"name\":\"Jilesh Patadiya\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2cea2bdb5bbabb771ee67e96acad7396f25cb1a0c360b9bc4a9ac40cea9cd8b2?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2cea2bdb5bbabb771ee67e96acad7396f25cb1a0c360b9bc4a9ac40cea9cd8b2?s=96&d=mm&r=g\",\"caption\":\"Jilesh Patadiya\"},\"description\":\"Jilesh Patadiya, the visionary Co-Founder and Chief Technology Officer (CTO) behind AccuWeb.Cloud. Founder &amp; CTO at AccuWebHosting.com. He shares his web hosting insights on the AccuWeb.Cloud blog. He mostly writes on the latest web hosting trends, WordPress, storage technologies, and Windows and Linux hosting platforms.\",\"sameAs\":[\"https:\/\/accuweb.cloud\/resource\",\"https:\/\/www.facebook.com\/accuwebhosting\",\"https:\/\/www.instagram.com\/accuwebhosting\/\",\"https:\/\/www.linkedin.com\/company\/accuwebhosting\/\",\"https:\/\/x.com\/accuwebhosting\",\"https:\/\/www.youtube.com\/c\/Accuwebhosting\"],\"url\":\"https:\/\/accuweb.cloud\/resource\/author\/accuwebadmin\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Remote Access EJB on GlassFish | AccuWeb.Cloud Guide","description":"Deploying EJB remotely on GlassFish. Discover best practices for utilizing remote client views and optimizing EJB performance.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish","og_locale":"en_US","og_type":"article","og_title":"Accessing EJB Remotely on GlassFish","og_description":"Deploying EJB remotely on GlassFish. Discover best practices for utilizing remote client views and optimizing EJB performance.","og_url":"https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish","og_site_name":"AccuWeb Cloud","article_modified_time":"2026-02-19T04:26:34+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish#article","isPartOf":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish"},"author":{"name":"Jilesh Patadiya","@id":"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/a7a4cbe8405202b537509c757b588c58"},"headline":"Accessing EJB Remotely on GlassFish","datePublished":"2024-06-03T10:18:16+00:00","dateModified":"2026-02-19T04:26:34+00:00","mainEntityOfPage":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish"},"wordCount":481,"publisher":{"@id":"https:\/\/accuweb.cloud\/resource\/#organization"},"image":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish#primaryimage"},"thumbnailUrl":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg","inLanguage":"en-US"},{"@type":["WebPage","FAQPage"],"@id":"https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish","url":"https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish","name":"Remote Access EJB on GlassFish | AccuWeb.Cloud Guide","isPartOf":{"@id":"https:\/\/accuweb.cloud\/resource\/#website"},"primaryImageOfPage":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish#primaryimage"},"image":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish#primaryimage"},"thumbnailUrl":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg","datePublished":"2024-06-03T10:18:16+00:00","dateModified":"2026-02-19T04:26:34+00:00","description":"Deploying EJB remotely on GlassFish. Discover best practices for utilizing remote client views and optimizing EJB performance.","breadcrumb":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish#primaryimage","url":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg","contentUrl":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg","width":1280,"height":720},{"@type":"BreadcrumbList","@id":"https:\/\/accuweb.cloud\/resource\/articles\/remote-access-ejb-on-glassfish#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/accuweb.cloud\/resource\/"},{"@type":"ListItem","position":2,"name":"Accessing EJB Remotely on GlassFish"}]},{"@type":"WebSite","@id":"https:\/\/accuweb.cloud\/resource\/#website","url":"https:\/\/accuweb.cloud\/resource\/","name":"AccuWeb Cloud","description":"Cutting Edge Cloud Computing","publisher":{"@id":"https:\/\/accuweb.cloud\/resource\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/accuweb.cloud\/resource\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/accuweb.cloud\/resource\/#organization","name":"AccuWeb.Cloud","url":"https:\/\/accuweb.cloud\/resource\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/accuweb.cloud\/resource\/#\/schema\/logo\/image\/","url":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/04\/accuwebcloud_logo_black_tagline.jpg","contentUrl":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/04\/accuwebcloud_logo_black_tagline.jpg","width":156,"height":87,"caption":"AccuWeb.Cloud"},"image":{"@id":"https:\/\/accuweb.cloud\/resource\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/a7a4cbe8405202b537509c757b588c58","name":"Jilesh Patadiya","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2cea2bdb5bbabb771ee67e96acad7396f25cb1a0c360b9bc4a9ac40cea9cd8b2?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2cea2bdb5bbabb771ee67e96acad7396f25cb1a0c360b9bc4a9ac40cea9cd8b2?s=96&d=mm&r=g","caption":"Jilesh Patadiya"},"description":"Jilesh Patadiya, the visionary Co-Founder and Chief Technology Officer (CTO) behind AccuWeb.Cloud. Founder &amp; CTO at AccuWebHosting.com. He shares his web hosting insights on the AccuWeb.Cloud blog. He mostly writes on the latest web hosting trends, WordPress, storage technologies, and Windows and Linux hosting platforms.","sameAs":["https:\/\/accuweb.cloud\/resource","https:\/\/www.facebook.com\/accuwebhosting","https:\/\/www.instagram.com\/accuwebhosting\/","https:\/\/www.linkedin.com\/company\/accuwebhosting\/","https:\/\/x.com\/accuwebhosting","https:\/\/www.youtube.com\/c\/Accuwebhosting"],"url":"https:\/\/accuweb.cloud\/resource\/author\/accuwebadmin"}]}},"_links":{"self":[{"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/faq\/42899","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/comments?post=42899"}],"version-history":[{"count":8,"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/faq\/42899\/revisions"}],"predecessor-version":[{"id":53180,"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/faq\/42899\/revisions\/53180"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/media\/52879"}],"wp:attachment":[{"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/media?parent=42899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}