friendVU admin wrote:
Did you ask if distributed 2 phase commits are done without EJB?
Of course! You can do that in iBatis by itself. And in Tomcat or Resin
by itself.
sqlMap or JBDC.commit() or rollback().
Or even in SQL by itself.
No, no ... I know we can do 2-phase commits without EJB's. Wh
I guess writting things out help, I saw the problem right after sending it. I am fetching the parent and the child in the same map.Kris Rasmussen <[EMAIL PROTECTED]> wrote:
I have table with a parent child relationship. I have been trying to figure out why so many database calls are being made bec
I have table with a parent child relationship. I have been trying to figure out why so many database calls are being made because it appears that there are more than there should each time a web page loads. I tryed turning off lazy-loading because I thought it might not be working, but when i did I
I don't know if phasing out parameter maps is such a good idea. Right now they are not very useful because you can't do the things I suggested, however if you could then when you use them and change a method name in your java bean you would only have to chage your parameter map and not every statem
Abdullah,
I have no idea what you said there, it looks confused.
Did you ask if distributed 2 phase commits are done without EJB?
Of course! You can do that in iBatis by itself. And in Tomcat or Resin
by itself.
sqlMap or JBDC.commit() or rollback().
Or even in SQL by itself.
In fact, one could d
Interesting question could be: can the transaction semantics used in
the application
with iBatis also be used in an EJB transactional (read: distributed)
environment -
switching from local to distributed based on the absence or presence of
an EJB
container?
Is that even possible? hmmm ...
Kin
Title: RE: iBatis and EJB
I agree with friendVU admin. I think you could do this with Tomcat much easier. And Tomcat can run in a cluster environment. You don't need JBoss for that...
Brent
-Original Message-
From: Douglas [mailto:[EMAIL PROTECTED]]
Sent: Sat 2/5/2005 4:04 P
Hi "friendVU admin" ,
IMHO, i hate EJB :) .
JBoss is necessary because it's better than Tomcat in
same aspects, see :
http://www.jboss.org/wiki/Wiki.jsp?page=TomcatStandalonevsEmbedded
And the application will run in a cluster environment
and it need High Availability with 1..* machines.
The a
I am not sure how much jBoss is buying you, you can just use Tomcat
direct like iBatis jPetstore or http://sourceforge.net/projects/infonoia
That would make it simpler and on a bigger proejct, you want everyone
focused.
.V
Douglas wrote:
I'm working in a large project with JBoss 4, EJB
(without
person.put("name",person.get("name1"));
I have a lot of that in my code.
(I hope CB does not ban me from using iBatis. ;-) )
.V
Huy wrote:
How would you make sure all columns are named consistently, especially
between different databases with the different schemas ?
huy
Clinton Begin wrote:
Sure I'll join... ;-)
In my opinion, using a Map is one step below using a class with public
fields (a.k.a. C-style struct). Both lose the advantage of
encapsulation. However, a Map is worse still in that you also lose
type definition (which fields are on a domain object) an
I'm working in a large project with JBoss 4, EJB
(without entity beans, only with Session beans and
Message Driven Beans), iBatis SQLMap, iBatis DAO
Framework and Struts.
The transaction is controlled by iBatis DAO (the
transaction manager implementation is SQLMAP).
Nowadays i'm using a single Se
Vic Cekvenich wrote:
Huy wrote:
I see what you mean but I need my domain objects because my apps are
used by different clients with different databases with different
schemas (similar but not exact; it's a legacy thing). The domain
objects help me to keep all my other layers independent of the
Sure I'll join... ;-)
In my opinion, using a Map is one step below using a class with public
fields (a.k.a. C-style struct). Both lose the advantage of
encapsulation. However, a Map is worse still in that you also lose
type definition (which fields are on a domain object) and type safety
(which
Huy wrote:
I see what you mean but I need my domain objects because my apps are
used by different clients with different databases with different
schemas (similar but not exact; it's a legacy thing). The domain
objects help me to keep all my other layers independent of the
database schema. I k
Hi .V,
friendVU admin wrote:
Huy wrote:
have a single resultmap for an entire table/domain class mapping
which can be reused in multiple statements without the
select statement providing every column specified in the result map.
I do get what you want... having done quite a few iBatis pr
Hey Gang,
just wanted to share some success that I have had using a
struts/ibatis/mysql combo. I was tasked by my employer to create a
client portal that allowed them to control aspects of their "stuff".
I had already decided to do it in Struts/JSP using the good old
MVC methodology. Originally I
Huy wrote:
have a single resultmap for an entire table/domain class mapping
which can be reused in multiple statements without the
select statement providing every column specified in the result map.
I do get what you want... having done quite a few iBatis projects, I
allways have only
Clinton Begin wrote:
From a purely academic sense, Java is a hybrid language. A Smalltalk
developer would tell you to avoid primitives like the plague. A C
developer, would tell you primitives are the only way to go.
Generally speaking, Java is more OO than not, so the Smalltalk
developer woul
19 matches
Mail list logo