I plan to use the Page-by-Page Iterator pattern in one of my web applications: http://java.sun.com/blueprints/patterns/j2ee_patterns/page_by_page_iterator/index.htmlI am looking for additional references (books, articles, URL's) regarding this subject.
Hi,I have been coding with Java for about 3 years now. Recently I realised how little I knew about WHY we code in certain ways and what are best design approaches to take. I have taken a look at a few 'Design Patterns' books but I am still asking such questions!Does anyone recommend a book ...
There are multiple tables in my database. Each table has a primary key, and the table that relates to other tables has foreign keys. I have to match the primary key and foreign key to go from one table to another. The specifics are spelled out below: The first table has login, pwd, and a ...
We have just started with the New Project & just discussing Architecture. We want to use Service LOCATOR Pattern ..but with some modifications. We want BUSINESS DELEGATE to keep the track of all teh HOME OBJECTS ..& before actually going to SERVICE LOCATOR for teh Request , it sud look ...
556 byte By
smithsa at 2007-9-27 9:53:08
How do other people using the FrontController servlet pattern manage external links for things like stylesheets, images, etc? Before we had jsp's and other things directly linked, and we used relative paths. We did this so that our application would be completely independent of it's context ...
Hi All,I have a very basic level question When should I use SessionBean and when should I use EntityBean? An illustration with some link to resource will be really helpfulThank youA.
958 byte By
akorduna at 2007-9-27 10:34:43
This is a general question that I have about the use of a singleton class from an EJBs. I want to create a cache in the form of a singleton (suppose for now, no server clustering). The goal of this cache would be to speed access to a database. Different users logging into the system would ...
Hi, Is the following architecture a good one? JSP View1 > FrontControllerServlet -> Servlet1 --> JSP View2 JSP View2 > FrontControllerServlet -> Servlet2 --> JSP View3 JSP View7 > FrontControllerServlet -> Servlet5 --> JSP View4 ... ... In other words, all the views ...
i configed jbuilder7+weblogic7 ,but when i run the test.jsp with weblogic in jbuilder's project. two error occur :<2002-7-1 下午12时10分40秒> <Warning> <Management> <000000> < -Dweblogic.Domain=<domainName> is no longer a required command line option, if you don't ...
Hi All,could anybody recommend some standard approaches for workflow implementation? Following features are required:- create forms and processing components to be used in workflow;- configure worflow: define which forms to be displayed, where data should be processed, next form/action etc...- ...
I was just pondering about the predicament of a Controller Servlet in a facade pattern.Say, Iam following the conventional MVC architecture with just one controller servlet. Every request that is submitted must go through this servlet only. For example, ...
806 byte By
jockya at 2007-9-27 12:08:28
Hi, I had gone through the J2EE guildelines First edition. wherein it talks about three different types of client:Web ClientEJB ClientEIS ClientWhereas I was stunned to see that second edition shunned the usage of the EIS client.Why is this discrepancy?Can anyone shed some light on this?When ...
179 byte By
fzlxa at 2007-9-27 12:32:16
Is there any practical reason to use database helper class ( e.g. database.bookDB in Duke's bookstore)in servlet design? What if I setup a DB connection for every servlet?
i need to connect to microsoft active directory but i am unable to get the right start. also what is Microsoft ADSI package .Is it oging to solve out my problem.Thanks in advance for the helpTarun
789 byte By
mpbhata at 2007-9-27 12:44:32
Hi,One of the reasons for going for Business delegate pattern is because the business components is vulnerable to changes.Suppose if the business component has a method getAccountInfo( int Accountnumber)The business delegate pattern may have a methodgetAccountInfoFromBusiness(Accountnumber ...
542 byte By
raj_217a at 2007-9-27 12:46:41
Hi,We used cache data mechanism for performance tuning. It will store data in static variable (Hashtable) and get initialized when app starts . We are using IPlanet Application Server and Using 6 KJS engines. This object ( Hashtable) is not distributed across all JRES.It has to reinitialize ...
Hello, I've created an Application Client in order to access an Entity Beans via a Session Bean. Whilst creating the "Language"-Bean via the Remote Object the size of the error log is growing very fast (in a few minutes up to 500 MB) and the SUN minor code 1015 is thrown. Does anyone know what ...
hello who can tell me which class in the petstore implement the business delegate pattern.otherwise,who can tell me which website provide sample code for the j2ee design psttern.thank you very much!
Hi,I have defined a set of domain classes(with get/set methods) and a set of EJB Session Beans for the business logics.The question is, where do I locate the domain classes?Create a package for it (e.g. com.mysystem.domain)? Or distribute it into the Session Bean packages (e.g. for account ...
625 byte By
mfreschi at 2007-9-27 14:30:15
I磎 new of J2ee and I磎 trying to design/develop a standard 3-tier system. Well I have to choose all the software tools (trying to spend as less as possible), I read a lot of documents about different products, and now I have mess in my mind :-)Everything seems to be J2ee compatible!! Can someone ...
1029 byte By
vickyk at 2007-9-27 14:49:03
Hi,I have read in the docs that the JCA framework will enable our application to get integrated with the already existing EPR (Siebal,PeopleSoft etc).I have not worked on these giant ERP pakages but have an idea about the webbased ERP and CRM systems.I wanted to know how the adapters defined ...
Hi, I am facing a problem. I wish to instantiate a class when the J2EE/ tomcat server starts. This is similar to the property set in weblogic asweblogic.system.startupClass.startup = <name of ur startup class>Here we can specifiy the class to be instantiated during startup of server.Can i ...
What is the correct usage of a value object in the following example:I have an entity bean that encapsulates a business, and the bean has methods similar to getName(), getAddress(), etc. Lets say for example we have 75 accessors and 75 mutators for that bean.I then use a session facade to ...
903 byte By
baudrate at 2007-9-27 15:47:57
Hi all,I am looking for some pointers to design patterns that deal with authorisation.The issue at hand is the following: for an enterprise application we need to implement a mechanism that manages user-access to certain data. Example: if a user asks for sales-figures, only the data that he/she ...
339 byte By
rkatteri at 2007-9-27 16:05:55
Hi,The pattern states that"The ValueListHandler session bean caches ValueList to avoid repeated, unnecessary execution of the query."How is the caching performed so that multiple clients can share the same ValueList? And how can the server update the ValueList while a client is iterating over ...
i am a beginninger and interested in learning how to integrated ejb with struts, but few questions make me confused. while using struts, with its mvc model, developers are able to only code business logic in action stage and load actionForm, i.e. so called as model. then foward it to the view ...
From the EJB 2.1 spec (final draft)10.6.10 (from the spec)--:: This clause allows inheritance for interfaces ::--The remote home interface is allowed to have superinterfaces. Use of interface inheritance is subject to the RMI-IIOP rules for the definition of remote interfaces.--:: And this ...
war file get deployed to .wlstaging and not applications when i use weblogic.deploy tool.any help..thx
160 byte By
becan at 2007-9-27 17:22:55
I am ne?in EJB, and I only know use little j2eesdk.Now I have built some CMP beans, could you help me build JSPs calling these beans.Thanks
Hi everyone!I am new to Swing, and I would like to know, if is possible create a application using Swing as view tier in a J2EE(EJB) project? Did anybody create one yet? How many J2EE projects do you know which Swing is used as view tier? Using Swing is so much more complicate than a ordinary ...
Hello EveryoneI've become so frustrated by using this deploytool.......I dont know what i'm doing wrong.....let me tell u in detail......I'm creating an EAR file using the deploytool.....I'm successfully able to add servlets and other class files to this EAR file...The EAR file also deploys ...
3632 byte By
t_noda at 2007-9-27 17:29:48
According to J2EE Design pattern book, I抦 trying to design better 揅omposite?Entity Bean. The book says, 揈ntity beans are not intended to represent every persistent object in the object model. Entity beans are better suited for coarse-grained persistent business objects?(310 Core J2EE Patterns). ...
2635 byte By
Minusone at 2007-9-27 17:35:27
Hello everyone... just wanted to get some quick peer review action going here...Okay I won't waste your time with a lot of "big picture" **** of this entire mamoth application we are building... but to try to make a long story short here's the basic idea:We are doing a lot of main frame ...
1189 byte By
celovicd at 2007-9-27 17:37:29
I am using the command pattern to interface with the business tier. The commands are generated by the presentation tier and then sent across to a CommandHandlerEJB (sateless) on the business tier, who invokes execute() method on the command. The command in turn calls other EJBs in order to ...
1406 byte By
shivasvj at 2007-9-27 17:40:50
I am using the patterns described in Core J2EE(TM) Patterns: DataAccessObject pattern ref : http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html************************************************Using a DAO and DAO Factory - Client Code ...
728 byte By
funkyB at 2007-9-27 18:02:32
Hi there,we actually face the problem of EAI Integration...By management decisions we now have two major product strategies inhouse:- SeeBeyond's eGate (v4.5)- Weblogic WLS (v7)Inside our company we now have two groups argueing when it comes toIntegration strategies:- Integrate with eGate- ...
Hi,I adore applets and the package AWT... And I would like to know if some way exists to integrate my applet with my application J2EE... I want to use these in the vision tier in a J2EE(EJB) project...How can I make that my applet acts as an observing process of my model? If the JVM will be ...
278 byte By
JasonGao at 2007-9-27 18:10:40
Hi, developers:When I tried to run examples of j2ee tutorial, I typed "ant all" underj2eetutorial/examples directory but it reported such error:jakarta-ant-1.3.1a==a was unexpected at this timeAny help should be highly appreciated.Jason
312 byte By
yundi at 2007-9-27 18:22:19
i'm a beginner of J2EE.If i want to build a project with J2EE and Oracle.How could i set up the connection to oracle in J2EE ?I was seeing the j2ee tutorial provided by java.sun.com. but it dose not mention how to connect to oracle DB in the deploytool.Thanks for your ...
199 byte By
mlk at 2007-9-27 18:44:24
(this forum was all alone, so here is Yet Another Beeping IDE Post)Does anyone here use UML enabled IDE's like Rose or TogetherSoft? If so, do you find them helpfull, or a pain?
Hello I am new to J2EE, and I was wondering what are the advantages of using EJBs to implement the business logic, and DAL, when all of that could also be achieved using static java classes. I am obviously working in a non-distributed environment.TIA
3046 byte By
laslos2 at 2007-9-27 18:48:43
Hi there!Once again a problem to solve.Im currently developing a application with a problem domain that easily could be designed with the composite pattern (Hier structure).The domain consist of the following entities;Company; As the name says, an organizational unit.Supercompany; Virtual ...
348 byte By
rabbia1 at 2007-9-27 18:50:14
sir,i would like to know that what is the difference between "is-a" relationship and "has-a" relationship.&i have read that if we dont have "has-a" relationship then there would be duplication of work, but i cant understand that what if there is no "is-a" relationship, what could be the ...
148 byte By
atlonyx at 2007-9-27 19:01:53
Plase, anyone tell me where I can findto download for free the best workflow builderthat supports j2ee for windows.Thanx
2001 byte By
aedemar at 2007-9-27 19:11:02
Hi,I am designing an application that will provide a web service front end to query AS/400 data. The web service will access a stateless session bean that will call a DAO to execute the query on the AS/400.The queries will be made up of varied search criteria and will be specific to a set of ...
Hi All,before anyone gets upset, I did post a shorter version this to the Java Prog forum a couple of days ago. I'm reposting here because the thread was pushed down the list just as comments were getting interesting, and I was tossing up which forum was most appropriate anyway...OK, I'd ...
I'am working on a typical workflow application .Records can be added ,Updated , sanctioned, Authorized,Deleted & viewed. Business rules are :-1)Only fresh & Sanctioned records can be modified2)Only Sanctioned records can be Authorized3)Only non Authorized records can be updated4)Only ...
221 byte By
shanu_w at 2007-9-27 19:25:34
I am using Jsp/OracleJsp & some java class are used for the business logic and orcale for the data store ? what type of pattern u say for this type of architecture ? what is this pattern ?
4110 byte By
ghant at 2007-9-27 19:43:18
Hi All,I am new to Java world, been Oracle DBA so far and I am dealing with the following situation and need your input/comments on this:We have a business entity called Button and the button can be one of the following types:HTMLButton, MenuButton, SearchButton etc.So in our UML Diagram, we ...
236 byte By
trelango at 2007-9-27 19:57:25
I am Just starting up with UML and OOD Can anybody tell me what is UML,OODand where & how it is used ?And where the good downloadable docs/tutorsavailable ?thanks in advanceEla