27 byte By
jyc5131 at 2007-9-26 22:37:54
eeeeeeeeeeeee
827 byte By
mairt at 2007-9-26 22:50:06
Hi,Are there any patterns covering publishing updates to non ejb clients ?I assume I'm dealing with a very common scenario, specifically object definitions being updated in a central location and used by multiple remote clients. My non ejb clients will have local caches of their data so I want ...
Isn't it possible to make at tree structure with one Entity EJB which has a one-to-many relation to it self. For example a NodeBean that has a one-to-many local relation to it self. I tried to deploy it on Suns RI 1.3.1 without any luck. I got the following message:Compilation failed.at ...
How should servlets residing at different web containers of systems communicate?
435 byte By
NageshG at 2007-9-26 23:35:19
HI all,We developed an Java Application which contacts SAP R/3 using some IBM packages.Now i want to develop an application which uses Java Connector Architecture .Please tell me ,where can i get the Java Connector API to start my work.i searched in sun,but unable to find the API.please tell ...
is it advisible to make a VO object having some relationship to others VOs? (like their similiars in the EJB layer)
I'm doing a test for comparing pl/sql vs Java/EJB :I have to read a file (with assyncronous bank commands) and process each one. Is it better to have a client that generates jms messages processed by a cluster of MDB's or use EJB's to do the job?THis processing involves verifying if the ...
Can anyone help me find a resource(specifications) or a design for a scheduling engine
1475 byte By
arashsun at 2007-9-26 23:44:11
Hi,I recently have started EJB, and my questions may be annoying to experienced ones, but anyway please help me with this situation.I am currently trying to move my LMS ( Learning Managment System ) platform to a superior stage to enterprise level, but I have a bit difficulity to decide what ...
Hi,We are in the process of porting our application from Weblogic 6 to Oracle 9i app server. We have a requirement for developing startup and shutdown classes. These need to be instantiated from Java code (and not through console). If anyone knows how this can be achieved or have any ...
hi I am facing a problem in running j2ee -verbose in Windows-2000 Operating SystemI have set the JAVA_HOME directory as "D:\jdk1.3"and my J2EE_HOME Directory as "D:\j2sdkee1.3.1"When I run j2ee server it is giving the following errorC:\>j2eeJ2EE server listen port: 1050Redirecting the output ...
1074 byte By
rcw823 at 2007-9-27 0:14:03
Hi Im using an action servlet to retrieve data from a database table, I save the data in to a collection and pass it using req.setAttribute. here's my code snippet:timecardSQL timesql = new timecardSQL(con);Collection col = timesql.findAll();req.setAttribute(BeanNames.TIME_LIST, col);return ...
330 byte By
subir at 2007-9-27 0:27:39
If java pet store demo is a paradigm to follow for atypical J2EE based web application.I would like to know a.) How long(man-weeks) does it typically take to develop a pet store demo type of project ? and b.) if anyone is using any other architecture/patterns for rapid development ...
hi:when i have to query and return a large number of results. i turn to Value List Handler as a soultion against ejb finder which performance badly. but this pattern cache a large number of value objects even when i only use a little part of them as long as my session exists. so when i wanna ...
1035 byte By
kuff at 2007-9-27 0:39:15
When I Installed j2ee Then Error!C:\WINDOWS>j2ee -versionBad command or file nameSyntax errorSyntax errorSyntax errorJava 2 Enterprise Edition ServerOptions:-verboseRedirect all logging output to the current shell.-helpPrint this help message.-versionPrint the version.-stopStop the J2EE ...
130 byte By
svppp at 2007-9-27 0:47:54
Anybody there who can help me sending the links to model or sample question papers for Arhcitect exam part 1.
414 byte By
uryser at 2007-9-27 0:57:18
I use the Business Delegate to hide the implementation details (lookup, EJB, etc.) of the Business Service from the client. The same Business Delegate is used in many different places in the client. Now I would like to avoid to pass around the object reference of the Business Delegate in the ...
Hi, I have encountered the following problems with Service Locator, any help/advice appreciated....We are using a Service Locator (simple java class) in the web tier (Business Delegate) and the application tier (Session Facades) for all of the ejb context lookups. During performance testing we ...
Is it right to make the vo reflect the screen? But if i set the VO independent of the screens I won't use all the data brought through the wire (wasting the bandwidth). What's the better way to solve this problem?question 2: If I need to access a lot of data from a Bean including the data ...
Using hashtable to return data instead of VOsWe need to produce jsp's with specific data of a EJB. If we create one VO for each screen we'd be tying my web layer into the ejb layer. If I use a generic VO we'd be wasting bandwidth (we use a expensive satelite). We create a design that asks ...
hi:i am working on a project which consists of a portal and others about enterprise workflow. we decide to work with three tires architecture and j2ee seems to be a good choice. But there's a lot of workflows we must work with client other than web browser(such as printing ). And java ...
Hi, all!I'am a beginner EJB-developer. I'am seeking the place of using for the entity-beans. And I can't do it. The entity-bean's container encapsulates database level. "That's fine! If the business objects will be changed, I'll change several lines of my code only.", all say. I agree ...
275 byte By
rejimani at 2007-9-27 1:55:12
Hello,I would like to get some idea about Java Rule Engine API1. This API is available or not?2. if available, then any web links available?3. if not available, then when it will be ready? any other libraries available?Thanks,
775 byte By
baivab at 2007-9-27 1:59:13
Hi,A CORBA client sends us (CORBA Server) a request and we (the Server) is expected to return back a sucess/failure. This we are doing by validating the request thru DB.Problem: The frequency of requests are around 100 req./sec. Total volume: 1 million/day. We are expected to almost immediately ...
129 byte By
ug52axi at 2007-9-27 2:00:34
please tell me how I can set up,configure and basically run the **** j2ee on winXP(or 2000)many thanx
415 byte By
pvr123 at 2007-9-27 2:16:19
HiWe r in development of tool in JSP-EJB-ORACLE architecture.We need to import and export MsProject-Tasks from and to our tool.We made a sample program of the same with VB and MSProject and it works fine.I need to know how should proceed with JAVA(JSP-EJB).Pl. getback me immediately with ...
81 byte By
askerz at 2007-9-27 2:20:17
Could anyone give me some cases using PROXY design pattern? Thanks.
161 byte By
pxmartin at 2007-9-27 2:53:29
Can the Composite/Aggregate Entity Bean Pattern only be implemented for Bean ManageredPersistence ? Is this the case for EJB1.1 and EJB2.0 ?
Does anyone have a design for a job/batch schedular. I want to design one and want to know what all patterns can be used
Hello:My question is in two parts. I have spent a great deal of time searching the forums without a satisfactory answer, so I thought I'd post my question directly.1) I have two clients that can potentially talk to two different servers, but they both need to interact with the same instance of ...
1279 byte By
jvramana at 2007-9-27 4:19:04
Hi,I have one question in implementing a factory as singleton.case 1 implementaion:public class TestFactory{public static TestFactory factory = new TestFactory();private TestFactory() { // do something...if there is a need } public Hi createSomething() {}}case 2 implementation :public class ...
421 byte By
arnouf at 2007-9-27 4:28:53
Hi!I've got a problem to develop a page iterator in my web app.I use with J2EE the Strut framework of Apache. My problem is the following:I call a session EJB which search record and put it in a list. This list is recorded in my remote interface. I would like to create a method in this remote ...
I am now using Struts for the development. I have 3 questions about J2EEpattern by the use of Struts:1) How can I use Struts to create the Front Controller? In the bookdescibing Front Controller, it is a servlet file which receives the requestand then dispatches to the appropriate view ...
689 byte By
donqueue at 2007-9-27 4:45:49
I am new to J2EE and I have a question to the more experienced architects here. I would like to build an application based on a J2EE server that will regularly poll multiple databases from different manufactures over the network or the Internet (could be several 1000) and save this data in a ...
355 byte By
rtarasua at 2007-9-27 5:09:50
What are the possible options to communicate with an external application from within EJB container? Options that I can think of are - RMI- JMS- Socket communication- HTTP- any other option?And if anyone can give the pros & cons of the different approaches, based on their experiences it ...
482 byte By
dxyzda at 2007-9-27 5:12:21
Hi, I need to send mails to all the subscribers of my newsletter, but I would not like to expose my recipients list.Does this mean I should use iteration and send mail to each guy in the list individually?That dosnet sound convincing to me...Can someone clarify me ..how this can be done?I dont ...
I picked up "EJB Design Patterns" by Floyd Marinescu. As I started reading through the book I began to wonder if these were standard patterns. So my question is this. Are the patterns described in this book accepted standards for design EJB's?Thanks
Hi all,Can any body tell me where on sun site i can get the information regarding Business delegate Design pattern ?am currently reading the material at this link : http://java.sun.com/blueprints/patterns/j2ee_patterns/catalog.htmlBut i didn't found any thing related to Business delegate..If ...
I'm hoping someone out there will be familliar with my design concerns.let me pose an example, and see if that works for explaining my problem:1. a user accesses a secured resource (ie: web page)2. user is prompted to log in by a html form or browser dialog box.3. if user is successfully ...
448 byte By
chablota at 2007-9-27 6:51:12
Hi,For an access contol filter, i want to set a session attribute in the dofilter method of the filter.To acces the session, i cast the servletRequest to httpServletRequest, and pass it to the filter chain.But when i get the attribute from the request object of the taget, the attribute is ...
hello, do you have any source code examples regards "javax.print.attribute.standard.PrinterState". the mention statement is to get printer status in Java, and i want to ask is it only visible in JDK1.4 version? thanks for your help...
1198 byte By
gui_jqa at 2007-9-27 6:57:43
jsp code<%@ page import="javax.naming.*" %><%@ page import="javax.jms.*" %><%StringqueueName = null;ContextjndiContext = null;QueueConnectionFactory queueConnectionFactory = null;QueueConnection queueConnection = null;QueueSessionqueueSession = null;Queuequeue = null;QueueSender ...
Hi all, I'd like to implement my BMP Beans with the Generic Attribute Access Pattern. So instead of using get/set methods I simply do get/put of the HashMap stored in the EJB. Now my question is: how to I implement persitance of data on the DB with this pattern ? Do I have to move the content ...
799 byte By
Kbaratha at 2007-9-27 7:34:04
We have developd an application for our client. The architecture is such that, each and every request from the web browser is processes by a servlet which parses an xml file and looks up the appropriate session bean where in the corresponding DAO is called to access the data base. The Resul Set ...
353 byte By
Mlinara at 2007-9-27 7:42:26
I am using the Value List Handler Pattern to read a large set of data. My DAO returns a HashTable containing VOs. The data is displayed as a HTML from and can be edited -> so I need to write the changed data back to the database (in bad cases the whole HashTable). Any suggestions how to do ...
Hi,I have created .ear file by using ANT tool. But if this is opened by J2EE RI Server, it is not being opened and it is saying that the .ear is corrupted.Here is my build.xml file for creating .ear file<project name="training" default="make-ear" basedir="."><!-- compilation parameters ...
343 byte By
ch75a at 2007-9-27 8:07:35
Hi,We have a series of session beans which would be used by both Web clients residing in the same container as the EJBs and remote Java application clients.I want to have a single class which would be used by both these clients to lookup the EJBs. Can somebody suggest a way to do ...
HelloI'm looking for an example (or ideas...) of the MVC paradigm butwithout the web part (with only fat Java clients).I haven't take a look at the proxy class in Java. Is it possible touse proxies to access the front controller session bean (which is normallyaccessed by a main servlet to ...
194 byte By
Olexiya at 2007-9-27 8:38:16
Hi, allThere are many standard patterns in J2EE, but I can't find any information how to check correctness of UML diagram on correspondence with these patterns by QA.Thanks
1224 byte By
JulienVa at 2007-9-27 8:46:45
Hi,I would like some informations about the session with Struts.First of all, how the URL rewriting works. In the documentation I read "tag link automaticaly apply URL rewriting", but how does it work ? To track a session Struts uses URL rewriting or the cookies ?In the struts example, we can ...