J2EE Design Patterns.

674 byte By lggoundalkar at 2007-9-26 22:31:07
Hi All,Where can I get the detail notes on J2EE Design Patterns, part of SCWCD.Section 13 says..13.1 Given a scenario description with a list of issues, select the design pattern (Value Objects, MVC, Data Access Object, or Business Delegate) that would best solve those issues.13.2 Match design ...

eeeeeeeeee

27 byte By jyc5131 at 2007-9-26 22:37:54
eeeeeeeeeeeee

Server to non ejb client pattern ?

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 ...

Source code for java2 sdk 1.4?

185 byte By jgrafstrom at 2007-9-26 22:50:40
Will the source code for j2sdk1.4 be releasedlike 1.2, 1.3, 1.3.1? (Source Community Licence).If so, is there a plausible date for when? /Johan

Composite Entity - EJB 2.0 - CMR

1322 byte By ThomasMA10 at 2007-9-26 22:59:26
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 ...

Servlets in different JVMs

94 byte By shobhajagathpal at 2007-9-26 23:11:39
How should servlets residing at different web containers of systems communicate?

Can i create "Always on top" funciton in JAVA?

508 byte By kostrich at 2007-9-26 23:27:22
Hi, my name is Chang Hee Lee and I am a programmer in South Korea. We are developing a messenger program in JAVA. I have been trying to create a tool like MSN messenger's "Always on top" function under Tools in the menu bar. I could not find any way to develope the same function in JAVA. I ...

Connector Architecture

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 ...

VO relationship...

136 byte By echofloripa at 2007-9-26 23:40:28
is it advisible to make a VO object having some relationship to others VOs? (like their similiars in the EJB layer)

What's the better approach for processing batch commands

383 byte By echofloripa at 2007-9-26 23:41:59
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 ...

Schedular Design

100 byte By thakuraman at 2007-9-26 23:43:56
Can anyone help me find a resource(specifications) or a design for a scheduling engine

New to EJB, Design help needed

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 ...

Startup and Shutdown classes in OC4J (Oracle 9i App Server)

413 byte By moinshariff at 2007-9-26 23:44:49
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 ...

J2EE Application Server fails to start in Windows 2000

2168 byte By abhinirmal at 2007-9-26 23:51:09
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 ...

Problem with retrieving a collection object from JSP

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 ...

J2EE blueprint complexity

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 ...

Value List Handler question

540 byte By javagirl3 at 2007-9-27 0:32:59
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 ...

When I install j2ee Then Error!!

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 ...

Model Question Papers on SCEA Part 1

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.

Is the Business Delegate a Singleton?

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 ...

Service Locator problems...

1396 byte By bethpierce at 2007-9-27 1:02:02
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 ...

Designing VOs

577 byte By echofloripa at 2007-9-27 1:09:07
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 VOs

592 byte By echofloripa at 2007-9-27 1:10:17
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 ...

j2ee work with clients other than java app!!!!

918 byte By javagirl3 at 2007-9-27 1:20:24
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 ...

Is the entity-beans rubbish?

1415 byte By gudkovanatoly at 2007-9-27 1:22:13
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 ...

i want to record a call fom modem

510 byte By mohamedfakhry20 at 2007-9-27 1:43:09
I make an application that recieve any incoming call witin modem and also i can reply on it, but if i want to record the call i have a problem, when capturing the audio with JMF it can't capture the audio when the mic and headphone in the modeem, it detects it only when the mic in sound card, ...

Java Rule Engine API ?

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,

How to add an Attribute to Class in JMI?

216 byte By weerasak at 2007-9-27 1:55:29
In JMI specification (JSR-040), I still don't understand how we add attribute and/or method objects to a class object. Any clue? Please respond and cc me at mcgyver@writeme.com.Thanks,Mac

how to generate random numbers of the same at each time of execution of thm

1332 byte By jayashankar at 2007-9-27 1:56:34
dear friendsi am facing a problem that the random numbers generated at time of each exectuion of the program are not the same, i want to generate the same random numbers every time time i run the program. i need your help. i am giving the code in c++ if anybody can help in providing the ...

Any pattern to handle v. high freq. requests?

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 ...

installation, please help

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

JAVA AND COM - Importing MSPROJECT into JAVA

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 ...

PROXY design pattern

81 byte By askerz at 2007-9-27 2:20:17
Could anyone give me some cases using PROXY design pattern? Thanks.

Composite/Aggregate Entity Bean Pattern

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 ?

RFE Proposal Set Operations - RFC

14424 byte By Derisor at 2007-9-27 2:55:21
Greetings, this is a proposal for a Request for Enhancement in the JDK. Itis posted here for the review and comment. Basically an RFC on a RFE. =)Please indicate your comments on the matter. The proposal is to have a set of operations for perfomring Non-destructivemathematical set operations on ...

Schedular Design

134 byte By thakuraman at 2007-9-27 3:08:17
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

SFSB Instance Sharing across multiple servers/SFSB failover practices

2998 byte By doug_wilkerson at 2007-9-27 3:23:22
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 ...

factory as singleton

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 ...

Page Iterator

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 ...

question of using Struts for the J2EE pattern

1414 byte By leefungho at 2007-9-27 4:42:36
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 ...

Design partner for hug amounts of db connections and data?

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 ...

To contact 3rd party application from within EJB container

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 ...

multiple recipients using java mail API

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 ...

EJB Design Patterns

264 byte By PossumKing64a at 2007-9-27 5:49:26
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

Businees delegate ? where it is ?

437 byte By ashoksunkaraa at 2007-9-27 5:59:33
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 ...

Security vs Design Issues

1275 byte By wireframea at 2007-9-27 6:27:32
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 ...

CDMP Protocol Specs

126 byte By mkhodaba at 2007-9-27 6:44:45
Does anyone know where I can find the specifications for CDMP Protocol? All replies will be greatly appreciated!

Retreive HttpSession in Filter

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 ...

javax.print.attribute.standard.PrinterState

241 byte By alexmwm12a at 2007-9-27 6:51:41
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...

help !!!! Jms in Jsp

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 ...