[JBoss-user] [HTTPD, Servlets & JSP] - Re: JSP 2.0 open source & STABLE container

2004-05-31 Thread Zapa
you can imagine then how badly i got shocked when i heard what you guys did on 
theserverside.com ;) :P

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836994#3836994

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836994



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - JSP 2.0 open source & STABLE container

2004-05-27 Thread Zapa
Hi , 
I was wondering if there are any open source web-containers that support JSP 2.0 and 
are stable . I was shocked to see that Tomcat 4.1 only supports JSP 1.2 and I was 
wondering what alternative I'd have , if any , for use with JBoss 

Thanks 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836430#3836430

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836430



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - JBOSS QL Information

2004-04-16 Thread Zapa
Hello , 

I've been writting EJB's for some time and one of the biggest problems i have with 
them is the limited functionality of the EJB QL . I have heard in a few places of 
JBOSS QL , and I have tried a few internet searches for more info . 

I am looking for at least a detailed list of what functionality JBOSS QL has . I was 
not able to find anything on google or on this site so I was wondering if anybody 
could point me to the right place , if there is one . 


Thanks  

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830974#3830974

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830974


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - uploading a PDF into an entity EJB

2004-03-09 Thread Zapa
hey ppl , 
i've been strugling with this for a few horus now . I'm trying to upload a pdf file 
into a entity EJB so that i would be able to download it whenever i'd like . 

One of the big problems i'm having is that i don't know in what format I should save 
the data into the EJB . 

Theoretically i'd like to serialise then use a blob ... i've only read about blobs and 
it sounds like it's what i need , however i  wasn't able to find a way to cast the 
bytes from the request Input Stream of the jsp into a Blob object ... 

i'm a bit confused here too since it's my first time dooing this ... any help would be 
greatly appreciated , thanks 

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824973#3824973";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824973>Reply 
to the post


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - problem sending variables through jsp

2004-02-29 Thread Zapa
Hello , 
Here is a scenario that would describe my problem . page index.jsp needs to include 
page session.jsp , and while dooing that it sends the session.jsp page a variable 
called sessionid . 
The problem I have that while sessionid is 1 in index.jsp , it's seen as null in the 
session.jsp page  . Here is some simplified code from index.jsp 

  | String forumid = new String(1 + "") ;
  | 
  | 
  |  
  | 
  | or -
  | 
  | 
  | 
  | 
  |  

none of these work for me

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823463#3823463

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823463


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re:

2004-02-27 Thread Zapa
I have wrapped the code in  a user transaction , following also another thread from 
here and it seems to be working , thanks 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823308#3823308

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823308


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - "A CMR collection may only be used within the transaction

2004-02-27 Thread Zapa
That's the message that JBoss / Tomcat gives me as I  try to run a jsp that accesses 2 
entity beans . I know it's not a "best practice" but after a lot of thought i decided 
this is best for what i'm  curently trying to do . 

I  initially thought the error was due to the fact that i'm using JSP's but after a 
few google searches i saw some guys writting session ejb's having the same problems . 

here is a bit of code : 
 
  | ... 
  | Object ref = jndiContext.lookup("HolderObjectLocalHome");
  |  HolderObjectLocalHome hohome = 
(HolderObjectLocalHome)PortableRemoteObject.narrow(ref , HolderObjectLocalHome.class);
  |  Collection hoz = hohome.findAll(); // code works here
  | 
  |  Iterator i = hoz .iterator(); // code works here 
  |  
  |  while ( i.hasNext() ) { 
  |  HolderObjectLocal hol = (HolderObjectLocal)i.next();
  |  
  |  Collection objz = hol.getObjects(); // code works here 
  |  Iterator ii = objz.iterator(); // code stops working here 
  | ... 
  | 
I find it wierd how it only complains when i try to access the second collection . 

Any ideeas ? 

thanks 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823281#3823281

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823281


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: accessing Local Interfaces from JSP's

2004-02-17 Thread Zapa
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821921#3821921

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821921

the tasks i'm  trying to achieve are rather simple . On top of that i'm really new at 
JSP , so i'm going to concentrate my time on learning that , rather than developing a 
business delegate layer . 



I don't suspect i'll reuse this code , or i'd really need to change the presentation 
layer later on , but the moment this  would happen , my first action  would be to go 
by the book and implement sessionbeans .



Of course I'm not worried about transactions , even security is low . I am using EJB's 
for this , because i'm trying to develop a quick and simple aplication and JBoss CMP + 
XDoclet are giving me just that . 



Last thing ... this is a little project of mine , it's not some project i've been 
hired for , otherwise i'd stay closer to best practices 



thanks all for your input 


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: accessing Local Interfaces from JSP's

2004-02-16 Thread Zapa
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821686#3821686

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821686

heh yes , I should have specified that I'm trying to access Entity beans from JSP . 



The particular "component" I was trying to code by using JSP - CMP Entity was a simple 
forum . I found that it would be the easiest to have the Forum Entities called by the 
JSP's so that the JSP's could also use them as their data objects . Sending them 
through Session EJB's would require me to writte an extra bean and probably a few data 
storage objects that would contain data identical to the one in the Entities , only to 
be passed and used by the JSP . 



My initial ( but incomplete ) question  was if I could use Local Interfaces to CMP 
Entity beans from JSP , this way saving time one some unecesary coding , and still 
having my data kept locally within the JBoss enviroenment as I'm using the Tomcat 
that's integrated with JBoss 3.2.2 .


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: using only Remote Interfaces

2004-02-15 Thread Zapa
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821602#3821602

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821602

ah that makes perfect sense then ... 

thanks 


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - using only Remote Interfaces

2004-02-15 Thread Zapa
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821595#3821595

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821595

Hi there , 

I  was told in a recent thread that with JBoss I can code without writting Local 
interfaces as JBoss optimises them automatically in the  background  



So I started writting only Remote Interfaces for my beans . The first problem I ran 
into was that , even with no mention of Local interfaces in the jboss.xml or 
ejb-jar.xml file , as the beans were beeing deployed , Jboss kept on complaining about 
the entity beans that were used in relations with other beans about not having 
LocalInterfaces . It's odd that it did not complain about beans with no relation . 



Here is an example . I have a CMP entity bean called UserEJB ,  wich simply holds the 
user and password for users accessing a system . At first this bean was alone , with 
no relation to any other bean . Jboss deployed it just fine . I then created another 
CMP bean  LoggedUserEJB that would be in a relation with the UserEJB . Here is the 
relation in  ejb-jar.xml : 





LoggedUser-User





LoggedUser-has-one-User



One



LoggedUserEJB



 

user









User-belongs-to-LoggedUser



One



UserEJB









As I was trying to redeploy  the application , JBoss complained about UserEJB not 
having a LocalHome Interface . 



Can anyone come up with any ideeas for my problem ? This was not the only time i've 
had this problem , every single bean in the application complains at deployment time 
IF it is declared in a relation with another bean AND it does not have the Local stuff 
written completly ( even though , i never make any references to the local stuff , 
i've written it for a few beans just to be able to deploy them ) 


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: accessing Local Interfaces from JSP's

2004-02-12 Thread Zapa
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821338#3821338

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821338

ah really . that's good to know then , thanks , this will save me time from writting 
too many interfaces 


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - accessing Local Interfaces from JSP's

2004-02-12 Thread Zapa
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821322#3821322

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821322

Just wondering if it's possible to access Local EJB Interfaces from JSP;s that are 
setup on the Tomcat that comes with JBoss ? 


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user