Re: how to use ejb 3.1/3.2 in struts2?

2016-03-08 Thread Mike Guo
after testing. that CDI plugin can work on Glassfish4.1.1 and wildly 10 so, I think it will be better to it thanks everyone Mike > 在 2016年3月9日,上午10:50,Mike Guo <hongw...@163.com> 写道: > > Hi, Martin. > > > thanks for your example. > > I guess it is not cod

Re: how to use ejb 3.1/3.2 in struts2?

2016-03-08 Thread Mike Guo
gt;>> @Inject your remote bean interfaces. This may also be available in 6, but >>> you'd have to research that. >>> >>> PS: @EJB is a specialized injection annotation that only deals with EJB. >>> Obviously, but just wanted to point th

Re: how to use ejb 3.1/3.2 in struts2?

2016-03-08 Thread Mike Guo
t your remote bean interfaces. This may also be available in 6, but > you'd have to research that. > > PS: @EJB is a specialized injection annotation that only deals with EJB. > Obviously, but just wanted to point that out. > > Cheers, > Paul > >> On Tue, Mar 8, 20

how to use ejb 3.1/3.2 in struts2?

2016-03-08 Thread Mike Guo
Hello, everyone. I suppose this is very old question to struts user list. how to use EJB 3.1/3.2 in struts2? I did some research on google. but I totally no idea what’s the exactly solution for this. some one said use cdi plugin. but if I use cdi plugin, I guess it can be @inject a ebb

Re: Jodd/Madvoc MVC framework

2016-01-26 Thread Mike Guo
I saw your guys already have many emails about the result string, but I think it is ok, just a little curious, any issue when we use string result? Thanks Mike > 在 2016年1月26日,22:44,Lukasz Lenart 写道: > > Such functionality is already supported, you can return

Re: Jodd/Madvoc MVC framework

2016-01-26 Thread Mike Guo
That's true.;) 发自我的 iPhone > 在 2016年1月27日,10:47,Dave Newton <davelnew...@gmail.com> 写道: > > No issue in the sense of it working or not. > > *My* issue with strings is that it completely ignores the type system, such > as it is, that Java gives us. > >> On T

Re: what's the Bootstrap when I use "stream" result type for a picture output

2015-09-24 Thread Mike Guo
hi, thanks for your response. I got this solved . here’s the article I searched, it can explain why and how about this thing. http://www.oracle.com/technetwork/articles/javase/headless-136834.html thanks again

what's the Bootstrap when I use "stream" result type for a picture output

2015-09-23 Thread Mike Guo
Hi. all. I got a very strange issues. I tried to generate dynamic check code by struts2. so, I used buffered image and javax.imageio for a byteinputstream in my Action. look like the function work fine. but strange thing is: every time when I access that dynamic check code action. system

Re: what's the Bootstrap when I use "stream" result type for a picture output

2015-09-23 Thread Mike Guo
Anyone? Please. 发自我的 iPhone > 在 2015年9月24日,02:15,Mike Guo <hongw...@163.com> 写道: > > Hi. all. > > I got a very strange issues. > > I tried to generate dynamic check code by struts2. so, I used buffered image > and javax.imageio for a byteinputstrea

Re: what's the Bootstrap when I use "stream" result type for a picture output

2015-09-23 Thread Mike Guo
(); System.out.println(Arrays.toString(writerFormatNames)); } } and it will start the Bootstrap too. so, look like it is belong to JDK part. but I don’t understand it still. is there anyone can share some tips to me? thanks so much Mike.G > 在 2015年9月24日,11:32,Mike Guo <hongw...@163.c

Re: what's the Bootstrap when I use "stream" result type for a picture output

2015-09-23 Thread Mike Guo
ok, finally, I got the solution for this one. although I don’t know why. I just add one java param in here: java -Djava.awt.headless=true then it will be gone. thanks Mike.G > 在 2015年9月24日,12:02,Mike Guo <hongw...@163.com> 写道: > > ok, I just found it is not related with t

Re: what's the Bootstrap when I use "stream" result type for a picture output

2015-09-23 Thread Mike Guo
and I think the finally answer is here: http://www.oracle.com/technetwork/articles/javase/headless-136834.html <http://www.oracle.com/technetwork/articles/javase/headless-136834.html> just for record. Mike.G > 在 2015年9月24日,12:05,Mike Guo <hongw...@163.com> 写道: > &g