Tomchi Tang

Greenhorn
+ Follow
since Apr 25, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Tomchi Tang

Hi all,

I am working on a web application and using JBuilder X as IDE and Weblogic Server 7.0 as the application server. The problem I am facing is this:

When I compile and run the application from JBuilder, it works fine within the JBuilder environment but when i open a seperate browser window (IE or Netscape), it creates a new session for each request. My other team mates are using the same environment and their application seems to work fine either way.

I reinstalled both JBuilder and Weblogic Server but it didn't help.

Any help would be appreciated in this regard.

Thanks
Amit.
Hi all,

I am working on a web application and using JBuilder X as IDE and Weblogic Server 7.0 as the application server. The problem I am facing is this:

When I compile and run the application from JBuilder, it works fine within the JBuilder environment but when i open a seperate browser window (IE or Netscape), it creates a new session for each request. My other team mates are using the same environment and their application seems to work fine either way.

I reinstalled both JBuilder and Weblogic Server but it didn't help.

Any help would be appreciated in this regard.

Thanks
Amit.
16 years ago
Hi all,

I am working on a web application and using JBuilder X as IDE and Weblogic Server 7.0 as the application server. The problem I am facing is this:

When I compile and run the application from JBuilder, it works fine within the JBuilder environment but when i open a seperate browser window (IE or Netscape), it creates a new session for each request. My other team mates are using the same environment and their application seems to work fine either way.

I reinstalled both JBuilder and Weblogic Server but it didn't help.

Any help would be appreciated in this regard.

Thanks
Amit.
Hi Guys,
I am wondering if there is a generic conversion utility which can
convert the resultset in the Hierarchical XML format based on the XML
DTD.
Thanks
Amit.
We have to create an complex authorization architecture for a financial company which has several roles like SystemAdmin, Advisors, AdvisorAssistant and their clients, etc. Moreover Advisors can have their own domains where they can create roles specific to their domain and assign it their assistants or clients.
I guess the architecture would be High Level Role base authorization system which has low level Domain Based Architecture something like Windows NT.
I have looking into java.security and JAAS but would could find much help. Any pointers in this direction would be appreciated.
Thanks
Tomchi
Problem: A customer can have either Checking A/c or Saving Account. There are some features which are specific to checking account and some features which are specific to Saving account. How should we design this.
I come up with the following design:

Would really like to hear some expert comments
Thanks
Tomchi
[added code tags - Ilja]
[ October 16, 2003: Message edited by: Ilja Preuss ]
I have created a new document from scratch using DOM. Before writing it to the file, I want to validate it against a DTD. Any pointers would be appreciated.
Thanks
Tomchi
Is it possible to create a new xml file based on the dtd?
-------
Tomchi
Thanks for your reply. Now i am convinced that DOM is a better option. On a little bit of research, I found there is another option available - JDom. What do you guys think about it - JDOM or DOM + XSLT.
Hi,
I wanted to ask a very basic question. I have a java object and i want to serialize it as an xml file. How should i do it
a) Create a new document using DOM and then serialize it using XSLT
b) Create the xml file by simply writing data (along with the tags) to a file.
Pls. suggest.
Hi All,
I am planning to use CachedRowSet in my current project. I have searched for "rowset.jar" but couldn't find it anywhere on the net. There are some articles which has referenced the following urls for the download:
- http://developer.java.sun.com/developer/earlyAccess/crs
- http://jcp.org/en/jsr/detail?id=114
But I can't see the file. I was wondering if it has been removed. I Would really apprecite if someone could send me the correct url or email the jar file.
Hi All,
I am planning to use CachedRowSet in my current project. I have searched for "rowset.jar" but couldn't find it anywhere on the net. There are some articles which has referenced the following urls for the download:
- http://developer.java.sun.com/developer/earlyAccess/crs
- http://jcp.org/en/jsr/detail?id=114
But I can't see the file. I was wondering if it has been removed. I Would really apprecite if someone could send me the correct url or email the jar file.
Thanks for your Input. Actually we want to show different reports which have details like
- Total no of Sellers
- Total no of purchase/non-purchase items and their values
- Total no of categorized/non-categorized items and their values
....
....
This information is also required in other reports. I can think of following possible solutions:
1) Create a generic ReportDAO which have queries used in all the reports. When we need to show a specific report, we can call the ReportDAO from our session bean, fill the XXXReportDTO and send it back to the client.
2) Create a generic ReportDAO which have queries used in all the reports. In addition to these queries, DAO also have functions to create, populate and return specific DTO. In this case, Generic ReportDAO will aslo work as what you called "Super DAO". It interact with session bean and internally use query functions to create and populate DTOs.
3) Similar to (2) where the superDAO will be a seperate Factory Class.
4) Create report specific DAOs which have a method to create report specific DTO.
Pls. suggest which option is the best.
Hi,
I am desinging an application where I am using Fast Lane Reader Pattern (Stateless Session Bean + DAO) for reports. We have created seperate custom DTOs (Value objects) for each report. Now my question is - where should we place the logic to create the DTOs. Should we create the DTO in the DAO layer and return it to the session bean or create it in the session bean and fill it there. According to Core J2EE patterns, the logic to create the DTO should go in the DAO. I guess this is a good idea when we have to create domain DTOs (the data from one single table), where one single call to the backend will return all the data related to the DTO. But in our case where we have to fire a seperate sql for each DTO field, I think, the logic should go in Session Bean. I am a bit confused. I would like to hear some expert views on that.
Thanks
Tomchi