Log in to follow, share, and participate in this community.
Thread Database access from the web tier
Database access from the web tierHi, I'm involved in the development of J2EE web application using an 'standard' architecture. View layer - Struts Business layer - Session EJB Persistence layer - Hibernate We found that in few screens, where a drop...
Web tier - App tier separationHi, Please enlighten me on the merits and demerits of separating the web tier and app tier (on separate machines) for scalability of an application. If in a scenario, I have multiple web servers running and the reque...
global config file design patternhey guys, i know this topic has been visited a few times in this forum. i did a quick search and i have read through all of them. however, most seem to be pretty outdated (before 2002) and i would like to repost this...
Thread A New Approach for Designing Web Applications
A New Approach for Designing Web ApplicationsWe have developed a language that can be used in place of wizards to generate Web applications. As shown in this brief presentation http://ltiwww.epfl.ch/WebLang/PetStore.html, this language nicely supports patterns e...
Thread Class with Singleton design pattern shared by 2 applications
Class with Singleton design pattern shared by 2 applicationsHello, I have a singleton class which looks like public class MySingleton [
private MySingleton() {
System.out.println("Init MySingleton");
}
private static MySingleton singleton;
public static synchronized MyS...
Thread Design advice, are Stateful session beans the answer?
Design advice, are Stateful session beans the answer?Hello, I'm looking for some design advice. I'm using JBoss 3.2.5. Here's my situation; Users log into to the website (Tomcat within Jboss) to authenticate themselves. When they do this a session bean is called whi...
Facade to embeded database or something?Hi! I want to develop application on JBoss with Apache Derby database as DBMS. Here are my constraints and assumptions: - Derby is an embedded database - I can access it from one and only one object (it locks db fil...
Thread how can I keep a kind of global object (Singleton) in JBoss?
how can I keep a kind of global object (Singleton) in JBoss?Hi, there: here is my problem: 1. we want to keep a copy of a huge database view in JBoss side (because, the view is huge, so, only one copy will be created, and maintained); 2. when request comes from client, we sho...
serviceLocator pattern used correctlyhi , the service locator pattern advise to use a locator to get the context from a contextFactory and return the home IF to the client to apply the create method , now if its all about decoupling the lookup code from...
Scheduling a Job in JBossHello Everyone, I have a Struts - Web Project with JBoss-3.2.5. Now, I want to make an automatic schedule - like 'open this particular URL every 10 minutes', etc. I found "Quartz" for scheduling a job in Java. But, ...
Servlet with broker pattern.This is the first of a couple of message I hope to write on AOP in Java. The purpose of the messages is to compare some of the newer proposals, like Rickard's, JBoss, Jadvise and AspectWerkz to "good old fashioned" A...
Diff between jboss-4.0.0RC1 jboss-4.0.0I tried it with JBoss EJB 3 and found that jboss-service.xml was missing in jboss-aop_1.0.0-FINAL\jboss-40-install\jboss-aop-jdk50.deployer\META-INF. I figured the problem out by copying the same file from RC2. Thank...
Is JBoss4.0 using RMI or remotingI am wondering how jboss handles remote method invokation. The other quesion is when and how the stub and skel of each bean are created in jboss. Thanks in advance!
ServerSocket MBeanI think Dimitris is going to start hating me lol But then again I should have been maybe posting this question here or maybe someone can point put a good forum to go discuss this... Am thinking I want to write a serv...
Help with MBeanHi all. I have a SAR-package as directory, in which are EAR package as directory too. in SAR's jboss-service.xml I've put such strng: ... ... And all goes OK, until I want to undeploy my SAR. I try delete it, EAR und...
Can Entity Beans have no create() methods?Can Entity Beans have no create() methods? Hi,This is Jyoti a software developer of HyTech Professionals HyTech Professionals (http://www.hytechpro.com) Inc. delivers quality software outsourcing services to clients w...
stateless + dao vs ejb finder methods ?The JBoss Support Engineer Position JBoss' vision for delivering Professional Open Source to the enterprise is dependent on our ability to deliver these services profitably and with a high degree of customer satisfac...
DAO and EJBHi all, I have read in a previous post that says that DAO with SessionBean is a good design pattern. I want to know which benefits i'll gain in using a DAO and SessionBean instead of the DAO alone with straigth JDBC...