Apress Pro Apache Struts with Ajax phần 10

Trong nền, JBuilder sẽ tạo ra các mã cho các mảnh, tạo ra Java mã cho các hành động và các trang JSP cho xem, và cập nhật các cấu hình Struts cho phù được điều này lý tưởng có thể được vô cùng khó khăn. May mắn thay, nó không phải là quá khó khăn để đạt được một xấp xỉ công bằng. | APPENDIX B STRUTS DEVELOPMENT TOOLS 455 Figure B-16. Refactoring code with UML Figure B-17. Previewing your JavaDoc with no lengthy generation process 456 APPENDIX B STRUTS DEVELOPMENT TOOLS Action Designer As with WebSphere JBuilder includes a diagram-based designer for you to build your Struts applications see Figure B-18 . Using the Action Designer you can create actions set up Action Forwards configure exception handling and view pages all in a simple diagram. In the background JBuilder will generate the code for each of the pieces creating Java code for the actions and JSP pages for the view and updating the Struts configuration as appropriate. Figure B-18. Struts application modeling in JBuilder As with most of the other designers we have found that building a project like this can quickly get messy but this kind of view does serve as a great way to verify that the code you have written is connected as you expected. JBuilder Summary Overall JBuilder is a strong IDE it has excellent support for JSP editing and some good UML tools. We really miss the refactoring support when using this IDE but not everyone will. The Struts support is excellent it is certainly not something Borland bolted on as an afterthought. What we like about JBuilder and Borland is that they now have the whole suite of tools available and they integrated everything very well. So in large projects you can have your IDE issue tracking source control and change control all integrated together. APPENDIX B STRUTS DEVELOPMENT TOOLS 457 The main drawback we found with JBuilder is that it is a mammoth to run. We are running on of RAM so for us it is not so bad but we used it on a friend s machine once with just 512MB RAM and it was ridiculously slow. We have noticed that the memory usage will slowly creep up through a session so you may find yourself stopping and starting the IDE once or twice a day on slow machines. JBuilder is definitely worth a try you might even feel that this is the IDE

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.